made with Svelte

svelvg

Convert SVG files into Svelte Components

Visit Site

Description

Convert SVG files into Svelte Components

"svelvg transforms SVG files into Svelte components and generates a corresponding TypeScript definition.

It converts the SVG file name into a JavaScript-compatible module name (e.g., alarm-fill --> AlarmFill), forwards $$restProps to the svg element while preserving original svg attributes and adds a default slot as child element to svg."


Creator

Eric Liu


Social Media Links

Svelteworld List of Countries
icon-eye-dark Created with Sketch. 1.391
Trading Card Holographic Effect Advanced CSS Styles for Holo Effects
icon-eye-dark Created with Sketch. 3.574
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
Fluid DnD for Svelte Drag & Drop Library
icon-eye-dark Created with Sketch. 450
SyncedStore for Svelte Multiplayer Svelte Stores
icon-eye-dark Created with Sketch. 2.190
Svelte SVG Transform Add & Transform SVG Files
icon-eye-dark Created with Sketch. 856