vite-plugin-svgr
JSON →Vite plugin to transform SVG files into React components using SVGR. Current stable version is 5.2.0, with regular updates. Key differentiator: seamless integration with Vite, supports both import with ?react query and default export, optional SVGO optimization, and TypeScript declarations. Compared to alternatives like @svgr/webpack, it is Vite-native and simplifies SVG component usage in React projects.
Traffic · last 30 days ↓43% vs prev 7d
total hits 17
actors 6 distinct systems
last hit 1d ago MJ12bot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇬🇧 United Kingdom · 🇮🇹 Italy
Resources
API endpoints
full doc /v1/registry/vite-plugin-svgr
compatibility /v1/registry/vite-plugin-svgr/compatibility