You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 14, 2026. It is now read-only.
Hi @fonkamloic . I wanted to reach out to discuss some possible improvements to the icon package. I use lucide icons myself and really like the idea of a icons package for Jaspr. So far I'm not using this package though because it has some disadvantages.
Currently it uses the script from cdn and creates icons at runtime. This doesn't work when using ssg or ssr though.
I think it would be better to use the icon svgs directly. The lucide packages for e.g. react generate separate components for each icon that directly render the icons svg paths. That has two big advantages:
It can be used during ssr with no additional script required.
It can be tree-shaken, and not-used icons are removed from both server and client bundles.