Use Font Awesome with Angular


Install the Font Awesome npm package

npm install font-awesome --save 

In the .angular-cli.json file you have to add the reference to the font-awesome.css that you just installed:

	"styles": [ 

In your pages you can reference the icons, e.g.:

<a href="" target="_blank"><i class="fa fa-twitter fa-2x menu-icon" aria-hidden="true"></i></a> 

with the following result:

Here the list of the available icons

Fullstack Angular / Java application quick start guide.
WebApp built by Marco using SpringBoot 3.2.4 and Java 21. Hosted in Switzerland (GE8).