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 Auth Authentication Library
icon-eye-dark Created with Sketch. 28.978
Svelte Roving UX Roving Tabindex Focus Handling
icon-eye-dark Created with Sketch. 798
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Kinetic Scroll Momentum Scroller
icon-eye-dark Created with Sketch. 984
Svelte Use Form Form Library
icon-eye-dark Created with Sketch. 3.523
Superforms for SvelteKit SvelteKit Form Library
icon-eye-dark Created with Sketch. 2.941