fontawesome in react
1. Install FontAwesome First npm i —save @fortawesome/fontawesome–svg–core npm install —save @fortawesome/free–solid–svg–icons npm install —save @fortawesome/react–fontawesome npm install —save @fortawesome/free–brands–svg–icons npm install —save @fortawesome/free–regular–svg–icons 2. Import to your component import { FontAwesomeIcon } from ‘@fortawesome/react-fontawesome’ import { faCoffee } from ‘@fortawesome/free-solid-svg-icons’ 3. Now you can use inside your html <FontAwesomeIcon icon={faCoffee} size=“5x”/> All other style …