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: 5281
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,

periodicregard
Posts: 1
Joined: 08 Dec 2022, 09:02

08 Dec 2022, 09:04

I'll look into that and see what we can do. Other libraries, like FontAwesome, don't seem to have a solution for this problem.
flappy bird

Post Reply

Return to “PrimeIcons”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest