DEV Community

Angular + FontAwesome in Five Easy Steps

Carlos Caballero on September 03, 2019

Angular + FontAwesome in Five Easy Steps A step-by-step angular tutorial FontAwesome is the internet’s most popular icon toolkit which ...
Collapse
 
michaeljota profile image
Michael De Abreu

Font Awesome has a component implementation in Angular. @fortawesome/angular-fontawesome. I think it's better than using CSS classes.

Collapse
 
kemenesbalazs profile image
Balázs Kemenes

I think the CSS import is more lightweight, and can be used with storybook more easily then the component implementation.

Collapse
 
michaeljota profile image
Michael De Abreu

With the component implementation you can pick the icons you want to use, instead of importing the whole library

Collapse
 
carlillo profile image
Carlos Caballero Angular

Yes!

I just going to write about that concrete module.

The next week to compare these steps!

Good catch!

Collapse
 
osspro profile image
Osiel

You should have selectable code instead of images for easy copy & paste

Collapse
 
netalex profile image
Alessandro Aprile

how to use it with regular css instead of scss, just in case?