Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Font Awesome 6 icons?

I've used the Font Awesome icons before (previous version). Back then, I used a CDN like below in my HTML. But now I can't find it anymore. Is there any change on how to use them?

<link rel="stylesheet" 
  href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
like image 243
Rocky Barua Avatar asked Aug 30 '25 15:08

Rocky Barua


1 Answers

To use the latest free Font Awesome 6, you can again use the CDN (if that's your preference) as follows.

<link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">

Then, you can use icons in your HTML as follows.

<i class="fa-solid fa-house"></i>