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 Flash Message Send temporary Data after a Redirect
icon-eye-dark Created with Sketch. 1.060
Superforms for SvelteKit SvelteKit Form Library
icon-eye-dark Created with Sketch. 2.918
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
MDsveX Markdown Preprocessor
icon-eye-dark Created with Sketch. 13.993
TanStack Svelte Query Data Synchronization for Svelte
icon-eye-dark Created with Sketch. 4.276
svelte-put Collection of Svelte Utilities
icon-eye-dark Created with Sketch. 5.006