react component for icon code example Example 1: react icons npm install react-icons --save Example 2: react icons npm i react-icons