How to use it
Turn an SVG into a React component with size and color props, camelCased attributes and optional TypeScript. Paste SVG markup above and set the component name, wrapper, and color behavior.
Example
Input: <svg><path stroke-width="2"/></svg>
Output: <svg><path strokeWidth={2} /></svg>Limits and behavior
- The output is a component source string; it is not compiled or executed.
- Input is limited to 1 MiB of UTF-8 text.