1.0.1 • Published 1 year ago
jsx-feather v1.0.1
jsx-feather
Feather Icons for SolidJS or any other JSX library. Or even a homebrew JSX libraries like I do.
We take the most simple and lean way just like feathericons does.
The whole project only have the minimum code and rely on the target project use bundler like vite.
Install
npm i jsx-feather
Import individual icon one by one
Import each icon in one line. This is a recommended method
As it will only need to load the icon imported without load any other files. Not only faster but also does not pollute the reloading logs.
import IconDisc from "solid-feather/IconDisc.jsx";
Import all used icons by once
Import all needed icons in one line
import {IconDisc, IconRefreshCw} from "solid-feather";
This will need load all the icons, specially with Hot Module Reloading, might take a second or two to reload
And might have reload log print out