Primeicons import on demand

The official icon library of Prime Libraries
Post Reply
linda1089
Posts: 1
Joined: 26 Dec 2021, 05:08

26 Dec 2021, 05:16

Hi, I am using primevue and primeicons. Is there any way to import only the icons needed ? As when I run the build, the whole svg file is quite big though when I only use few of them. Any suggestion to reduce that? Thank you in advance.

mert.sincan
Posts: 5214
Joined: 29 Jun 2013, 12:38

14 Apr 2022, 09:30

Hi,

I'll see what we can do about it. It doesn't seem to be able to find a solution to this in other libraries, especially in FontAwesome.
https://blog.webjeda.com/optimize-fonta ... sary-files

Could you please create a Github issue at https://github.com/primefaces/primeicons? Thus, We can easily follow it.

Best Regards,

Post Reply

Return to “PrimeIcons”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest