uses element queries to set basic component view as styles inline