I am using font awesome 5 icons on my website. But I only need 2 or 3 of them. So webpage gets all css from fontawesome cdn. This slows my website. Is there any way to select which icons I want use and only download their css?
Asked
Active
Viewed 2,989 times
2
-
3Possible duplicate of [How to install only required fonts from Font Awesome?](https://stackoverflow.com/questions/23193404/how-to-install-only-required-fonts-from-font-awesome) – JJJ Feb 28 '19 at 06:23
2 Answers
1
I just found a simple & easy way to extract the required icons using icongram. You can download the required SVGs into your code & host locally. The shortcoming is you may not get the required customization (size, height, width) sometimes but still useful for most of the scenarios.

Prateek Kumar Dalbehera
- 2,194
- 3
- 24
- 30
0
https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself
Download it, delete everything you don't need, upload it with your site.

Ari
- 5,301
- 8
- 46
- 120