DEV Community

Discussion on: Using Font Awesome Icons in a React Application

Collapse
 
venelinn profile image
Venelin

Nice article, but better not/avoid using Font Awesome with React apps. It adds a lot of weight to the final build. And I guess at the end you gonna use 10 icons max. It's better to build your own system that generate font icon from svgs.

Collapse
 
sabinthedev profile image
Sabin Adams

Good point! The Font Awesome packages comes with the functionality to build out a "library" of only the icons you plan to use to keep the bundle size down when you build for production. I mention that and show the basic setup of a library in this article, but there are more details here if you're interested 👇

fontawesome.com/how-to-use/on-the-...