Preparing for system design interviews?  Try bugzed.com →

vite-plugin-svelte-svg

JSON →
library 2.3.0 ·javascript
verified Jun 18, 2026

Vite 4.x plugin (v2.3.0) to import SVG files as Svelte components, with optional SVGO optimization. It requires the `?component` suffix (or `?c`) to distinguish SVG components from plain SVG URLs, but this can be disabled via `requireSuffix: false`. The plugin is Svelte 3/4 compatible but does NOT support Svelte 5 or Vite 5. It ships TypeScript types. Releases are infrequent, with v2 being the current stable line. Alternatives include `svelte-svg` or manual import via `{@html}`.

total hits 17
actors 6 distinct systems
last hit 24d ago ByteDance
ByteDance
5
GPTBot
4
ClaudeBot
3
Script
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇩🇪 Germany · 🇬🇧 United Kingdom