SVG to Svelte TypeScript

Emit a TypeScript Svelte component from SVG

SVG to Svelte? SVG to SvelteSvelte SFC? Svelte SFC

FAQ

Quick answers

How do I get a Svelte TypeScript component from SVG?
Paste SVG and click Convert to Svelte TS, then copy the typed component.
Does the TS output work with lang="ts" script blocks?
Yes. Output is oriented toward TypeScript script sections in .svelte files.
Building for SvelteKit with TypeScript?
Pair with SVG to SvelteKit for Kit-oriented structure.
Is Svelte TS conversion private and free?
Yes — free, no upload.
SVG to Svelte → Svelte SFC → Icon to Svelte → SVG to SvelteKit →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina