How to add icons from font awesome?

Is there a way I can add icons from font awesome and google fonts icons. I tried searching, but all of them require me to download it.

Hi @Kasakapen ,

It is not required to download but you need to install font-awesome packages to use them. you can install them using npm or yarn.

npm install --save @fortawesome/fontawesome-free


yarn add @fortawesome/fontawesome-free

do I put the code in the head section of html?

If you want to put the code on HTML then you can use cdns for that.

Your code should be like:

    <link rel="stylesheet" href="">
  <!--Body Conent -->

This doesn’t require any downloads

1 Like

Hi @Kasakapen ,

Yes, If you are using font-awesome icons with html. you con do something like that as suggested by @sowg

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.