npm install react-icons --save for yarn code example Example: install react icon npm install react-icons --save