Tiny Online Tools logoTiny Online ToolssearchBuscar ferramentas…grid_viewTodas as ferramentas
Iniciochevron_rightFerramentas de Imagemchevron_rightSVG para JSXSVG para JSX

SVG para JSX

Converta marcação SVG em um componente React JSX com atributos camelCase corretos.

SVG de entrada
Deve começar com uma letra maiúsculaAdicionar tipos TypeScript

Saída JSX

jsx
infoExternal fonts referenced in the SVG may not render correctly in browsers. Self-contained SVGs work best.

Ferramentas semelhantes

SVG Traçado para Preenchimento

SVG Traçado para Preenchimento

Converta elementos SVG com traçado em caminhos preenchidos para melhor compatibilidade.

SVG para PNG

SVG para PNG

Renderize um arquivo SVG como imagem PNG em qualquer tamanho no seu navegador.

PNG para SVG

PNG para SVG

Envolva uma imagem raster em um contenedor SVG ou converta pixel art em retangulos coloridos.

SVG para JPG

SVG para JPG

Converta gráficos vetoriais SVG em uma imagem JPEG com qualidade ajustável.

Editor de Malhas 3D

Editor de Malhas 3D

Funda malhas, separe partes soltas, solde vértices e inverta faces em qualquer modelo GLB, OBJ, STL ou PLY.

Renderizador de modelos 3D

Renderizador de modelos 3D

Renderize um modelo 3D em PNG ou JPG diretamente no navegador, em qualquer resolução até 4K.

Conversor de temperatura avancado

Conversor de temperatura avancado

Converta entre as 8 escalas de temperatura: Celsius, Fahrenheit, Kelvin, Rankine, Delisle, Newton, Reaumur e Romer.

apps

Mais ferramentas

Explore nossa colecao completa de ferramentas online gratuitas.

SVG to JSX Converteer

Transforma SVG markup into production-ready React components. This tool automates the conversion of SVG attributes to JSX syntax, eliminating manual refactoring and attribute renaming.

Automatic JSX Transformaations

JSX uses different attribute names than HTML SVG. The class attribute becomes className, for becomes htmlFor, and hyphenated SVG attributes like stroke-width Transforma to camelCase equivalents (strokeWidth). Manual conversion is error-prone and tedious—this tool handles everything automatically.

Style object conversion

Inline style strings in SVG (style="fill: red; stroke: blue") become JavaScript style objects ({ fill: "red", stroke: "blue" }). This maintains your original styling while following React conventions.

TypeScript support

Optionally Gera TypeScript-typed components with props interfaces. This is ideal for component libraries and teams using strict type checking. Gerad components accept SVG attributes and className props for flexibility.

Component integration

Name your component and get copy-paste ready code. The Gerad component works immediately in React and Next.js projects without additional adjustments. Use inline or export as a separate file in your components directory.

Design system workflows

Converte icon libraries to React components for consistent styling, Cria reusable SVG button and form components, build accessible icon systems with proper ARIA attributes, Gera component variations from design tool exports, and maintain TypeScript compliance in enterprise projects.