Load FontAwesome 6 Icons

Is there a way to load the fontawesome 6 icons into WeWeb? I’ve been able to find .css file that WeWeb needs, but I’m not able to locate the JSON file that WeWeb is requesting.

1 Like

I think the json file is a specific need for weweb. You should be able to create it and upload it as a file to link in the icon settings. From a quick look to the fontawesome repo (GitHub - FortAwesome/Font-Awesome: The iconic SVG, font, and CSS toolkit) it looks like they have a metadata file you can use.

I made a quick codepen to generate an example file https://codepen.io/dorilama/pen/GRQQNZO.

Hope this can help

2 Likes

Hi Kevin!

Does this help?

1 Like

This is awesome! Can I use the same function for tabler-icons.io?

Hi,

We have a paid version of Font Awesome v6.7.x using it in several custom code Front-End projects.

Now we want to add this icon set te Weweb. Which approach is best to use?

A) Add it as a font, like the example of Google Material Icons?
B) Import it as icon set. This would be my preferred option, but it is not clear how to create al the files/resources needed to import it as icon set in Weweb.

Looking forward to some tips & tricks.