DEV Community

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

 
hyggedev profile image
Chris Hansen

You're absolutely right. But I can never remember the syntax of even my favorite Icons. Especially different types of the same Icon.
I have not used the fontawesome package in a while, but I feel like I remember the syntax being a little difficult too. And I prefer not to repeat class or className numerous times, use i tags, and I can never remember if an Icon is 'fas' , 'far', 'fab'..

And if you're using the website directly, I dislike having to refactor all the class into className.

I like the consistency with react-icons. And my usual Icons, are always so easy to remember. No classes, No Tags. Just FaHeart, FaAngleDown, FaBars. And you can even pass them into styled-components like an [arg] which is a big plus for me if you style your react apps with CS in JS.