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