AES-Verschlüsselung erklärt: Wie sie funktioniert und warum sie wichtig ist
Jun 23, 2026
Convert SVG markup to React component code with camelCase attributes and TypeScript support.
SVG (Scalable Vector Graphics) uses attributes like stroke-width and fill-rule with hyphens. In JSX/React, these must be converted to camelCase: strokeWidth, fillRule. This tool automates that conversion and wraps the SVG in a reusable React component with customizable props for color and size.
This tool runs entirely in your browser. No data is sent to any server.
All hyphenated SVG attributes: stroke-width → strokeWidth, fill-rule → fillRule, clip-path → clipPath, xmlns is removed, and class becomes className.
It replaces hardcoded stroke and fill values with {color} or {color || 'currentColor'}, allowing the parent component to control icon colors via props.
It replaces width and height on the SVG root element with {size} or {size || 24}, letting parent components control the icon size.
JSX is standard React with JavaScript. TSX adds TypeScript type annotations, providing type safety for props like color and size with an interface definition.
Blog
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026