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

SvelteKit Autoimport Automatically detect & import Components
icon-eye-dark Created with Sketch. 1.544
svelte-reparent Reparent HTML Elements
icon-eye-dark Created with Sketch. 407
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
Svelte Notion (Unofficial) Notion Renderer for Svelte
icon-eye-dark Created with Sketch. 4.121
Better Svelte Email Render Emails in Svelte
icon-eye-dark Created with Sketch. 572
Svelte Multitone Image Multitone Image Effects
icon-eye-dark Created with Sketch. 1.102