style a component js code example Example: styled-components npm install --save styled-components # yarn yarn add styled-components