magicons
v0.0.4
Published
Fast, typesafe Icon wrapper and preprocessor for **Vite** projects.
Readme
magicons - npm
Fast, typesafe Icon wrapper and preprocessor for Vite projects.
Features
- 📦 Lightweight - Install only icon packs you need with zero dependencies
- ⚡ Preprocess - Get instant icons in development
- 🌴 Treeshakeable - Only used icons will remain
- 🧙♂️ Typesafe - Full typesafety and autocompletion for applied icon packs
- 💨 TailwindCSS - Full Tailwind support
Guides
| Framework | Guide | | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | Svelte | github or npm | | Kiru | github or npm | | React | github or npm |
How it works
Strings matching the pattern "@provider-icon" will be turned into a default export of the icon.
