SVG to JSX

Transform your SVG code into JSX syntax ready for React components. This free online converter correctly converts SVG attributes to React-compatible props (e.g., `class` to `className`, `stroke-width` to `strokeWidth`), handles self-closing elements, and strips unnecessary namespaces. Ideal for creating React icons and illustrations. Works entirely in your browser, no registration needed.

Input (SVG)

Output (JAVASCRIPT)

πŸ“„
Output will appear here