{"library":"vite-svg-2-webfont","type":"library","category":null,"description":"A Vite plugin that generates webfonts (WOFF2, WOFF, TTF, EOT) from SVG icon files at build time. Current stable version is 7.0.0, released April 2026 with a major breaking change: the internal generator was rewritten from @vusion/webfonts-generator to a native Rust core, changing font binary output and the cssContext callback signature. The plugin exposes a virtual CSS module that can be imported directly into your app, supporting class-based icon usage. It requires Vite ^6.0.0 || ^7.0.0 || ^8.0.0 and Node ^20 || ^22 || >=24. Differentiators: tight Vite integration, zero-config setup, and high-performance Rust-based generation compared to slower Node.js alternatives.","language":"javascript","status":"active","version":"7.0.0","tags":["javascript","vite","vite-plugin","svg-font","webfont","webfont-loader","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-svg-2-webfont","imports":["import viteSvgToWebfont from 'vite-svg-2-webfont'","import 'virtual:vite-svg-2-webfont.css'","import type { ViteSvgToWebfontOptions } from 'vite-svg-2-webfont'","import viteSvgToWebfont from 'vite-svg-2-webfont'"]},{"cmd":"yarn add vite-svg-2-webfont","imports":[]},{"cmd":"pnpm add vite-svg-2-webfont","imports":[]}],"homepage":"https://vite-svg-2-webfont.dev","github":"https://github.com/atlowChemi/vite-svg-2-webfont","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-svg-2-webfont","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}