Phosphor icons
Hi Everyone
I'm new on Solid JS, and I'm trying to get a cool icon font package.
I see that Solid Icons have a lot of icons, but I want to use Phosphor icons.
In my case I'm using the
web
package and import the .css
file. I see that exists a package for Solid, but in terms of performance, this usage with the web
version is a problem?
Any suggestion?
Thanks everyone! 🙏3 Replies
How I'm using it?
1. Install the package
@phosphor-icons/web
;
2. On app.tsx
add the import import '@phosphor-icons/web/regular/style.css';
3. Use like <i class="ph ph-arrow-right" />
use unplugin-icons/vite
Open Source Icon Sets - Iconify
Open source vector icons from all popular icon sets