Vite-native workflow
Add one plugin to your Vite config, import the virtual stylesheet, and let the plugin generate font assets for your icons.
A Vite plugin that turns SVG icon folders into font assets, CSS classes, and a virtual stylesheet you can import into your app.
vite-svg-2-webfont uses @vusion/webfonts-generator under the hood to transform SVG icon sets into webfont files and matching CSS classes. It is designed for projects that want icon fonts integrated directly into the Vite pipeline.
Continue with Getting Started for installation and setup details.