SVG to JSX / React Component Converter

Paste any SVG → get a clean React component with prop-forwarding and camelCase attributes

🔒 100% ブラウザ内🆓 ずっと無料⚡ サインアップ不要
注意: 下記のツールインターフェースは現時点で英語のみに対応しています。UI の翻訳は順次進めています。 このツールを英語で見る →

使い方

  1. 1
    Paste SVG markup

    Copy from Figma's dev mode, from an icon-library file, or paste raw <svg>…</svg>.

  2. 2
    Pick component name and typing

    Choose the component name, and JavaScript or TypeScript output.

  3. 3
    Copy the component

    Attributes are camelCased, style becomes an object, and props are forwarded to the root <svg>.

SVG to JSX / React Component Converter について

Free SVG to JSX converter. Paste any SVG markup to get a clean React functional component with camelCased attributes, prop forwarding, and TypeScript typing. Ideal for turning icon exports from Figma, Sketch, or Illustrator into ready-to-use React components. 712 Tools の SVG to JSX / React Component Converter はモダンな JavaScript API を使って完全にブラウザ内で動作します - サーバーがあなたのデータを見ることは一切ありません。つまり、即時の結果、完全なプライバシー、アップロード制限なしです。

デバッグ、簡単な確認、あるいは本番のインシデント対応まで - このツールは何度でも無料で使えます。ウォーターマークなし、サインアップなし、ツール内広告なし。

よくある質問

What gets transformed?

kebab-case attributes → camelCase (stroke-width → strokeWidth), class → className, style strings → objects, and the root <svg> forwards all props for size, color, and event handlers.

What about SVGO optimization?

This tool converts to JSX - for shrinking SVGs first, use the SVG Optimizer tool alongside it.

Is my SVG uploaded?

No. Conversion is pure string manipulation and runs entirely in your browser.

続きを読む