In this tutorial, we will learn how to integrate font-awesome library in reactjs. We will use the official @fortawesome/react-fontawesome package
Demo + Source:
https://react-component-depot.netlify...
NPM Packages:
@fortawesome/react-fontawesome
https://www.npmjs.com/package/@fortaw...
Font Awesome Icon References
https://fontawesome.com/icons
To use brand icons like Facebook, youtube, twitter, etc, you need to install free brands icons package from fortawesome.
npm i --save @fortawesome/free-brands-svg-icons
In component just add icon like this icon={["fab", "twitter"]}
Demo : https://codesandbox.io/s/font-awesome...
If you like the video please subscribe to the channel for more updates, thank you.