DEV Community

Discussion on: Easiest Way To Add Icons To Your React Apps 😎

Collapse
 
hyggedev profile image
Chris Hansen

I do too! Lol. It's my preferred icons library hands down. πŸ’―

But, do you go to fontawesome.com, login to access your kit, get the styles link and or use a CDN? Then go into your public/index.html to add your styles?

In my example, Its literally 3 steps:

  1. yarn add react-icons
  2. import { FaHeart} from react-icons/fa
  3. <button><FaHeart/></button>

It's legit quicker for me to do that than typing for the Icon in the search box at fontawesome.com lol. Give it a shot.