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.
SVG to JSX
Paste SVG, get a clean React component back.
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
More tools
SVG to PNG
Convert any SVG to high-res PNG with transparency.
SVG Optimizer
Minify SVGs by 40-80% before shipping.
SVG to Data URI
Encode SVGs as CSS-ready data URIs for backgrounds and <img> tags.
SVG Sprite Generator
Combine multiple SVGs into one <symbol> sprite sheet.
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