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

MDsveX Markdown Preprocessor
icon-eye-dark Created with Sketch. 14.017
svelte-use-persist Save Form Data Client-side
icon-eye-dark Created with Sketch. 1.023
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Svelte dts TypeScript Declaration Generator
icon-eye-dark Created with Sketch. 1.277
Svelte Intersection Observer Detect if an Element is in the Viewport
icon-eye-dark Created with Sketch. 5.121
Svelte Forms Lib Lightweight Library for Managing Forms
icon-eye-dark Created with Sketch. 9.626