SVG to JSX Converter - React, TSX, Vue & Svelte Free | IconVault

Convert SVG to JSX, TSX, Vue or Svelte components instantly. Auto-maps attributes, self-closes tags. Free, runs entirely in your browser.

All tools

SVG to JSX

Paste SVG, get a clean React component back.

5 of 5 free uses left

5 of 5 free conversions left - everything runs locally in your browser.

Your component code appears here

Attributes are auto-mapped to camelCase and tags self-closed - ready to paste into your project.

About this tool

IconVault's SVG to JSX converter turns raw SVG markup into framework-ready components in one click. Paste any SVG and get clean JSX with kebab-case attributes mapped to camelCase (stroke-width → strokeWidth, fill-rule → fillRule, class → className) and every tag properly self-closed New: TypeScript toggle with typed props, Icon mode (1em sizing for icon components), an editable component name, and optional {...props} spread. - the two things that break SVGs pasted straight into React. Switch tabs to get a typed TSX component, a Vue single-file component, or a Svelte component instead.

The TSX output includes a proper SVGProps type signature and spreads props onto the root element, so your icon accepts className, onClick and every standard SVG prop. Everything runs in your browser - nothing is uploaded. Every visitor gets 5 free conversions per tool with no account needed. IconVault Pro ($12/year) unlocks unlimited conversions, HD exports and every template.

Frequently asked questions

Popular searches

svg to jsxconvert svg to jsxsvg to jsx convertersvg to reactconvert svg to react componentsvg to jsx onlinesvg to react online freesvg to tsxsvg to tsx convertersvg to typescript reactsvg react component generatorsvg to react component onlinejsx svg convertertransform svg to jsxsvg attributes to jsxstroke-width to strokeWidthsvg to jsx freesvg to jsx no signupsvg to vuesvg to vue componentconvert svg to vuesvg to sveltesvg to svelte componentconvert svg to sveltesvg to jsx typescriptreact svg propssvgprops reactreusable svg react componentsvg icon component reactsvg to jsx in browserpaste svg get jsxsvg to jsx copy pastesvg to jsx with propssvg component with classNamereact inline svginline svg react best practicesvg as react component vs imgconvert svg for nextjsnextjs svg componentsvg to jsx next.jssvg to react nativesvg to jsx camelcase attributessvg attribute converterkebab case to camelcase svgsvg self closing tags jsxfix svg for jsxsvg jsx error fixinvalid dom property svg reactsvg to jsx toolbest svg to jsx convertersvg to vue templatesvelte svg componentvue inline svg componentsvg to jsx without svgrsvgr online alternativesvgr playground alternative freesvg to jsx typed propsreact svg icon library

More tools

Coming soon

CLI

Coming soon

Figma plugin

Coming soon

VS Code extension

Coming soon

Chrome extension

Coming soon

AI icon generator

Coming soon

Team workspaces

Coming soon

View all 10+ tools →