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

GDPR Cookie Consent Banner Cookie Notice Component
icon-eye-dark Created with Sketch. 196
Svelte Stack Router Svelte Router bridging the Gap between Native & Web Apps
icon-eye-dark Created with Sketch. 596
Svelte Yup Yup Form Validation for Svelte
icon-eye-dark Created with Sketch. 1.394
Weโ€™re hosting on Digital Ocean! ๐Ÿ’™ Try it today and get a free $100 credit.
Svelte Query Data Synchronization for Svelte
icon-eye-dark Created with Sketch. 2.051