use react-icons in react code example Example 1: react icons npm i react-icons Example 2: react icons npm install react-icons --save