Conversor de SVG em React JSX / TSX e Vue

Transforme ícones SVG em componentes React TSX, React JSX ou Vue 3 com um clique, convertendo atributos para camelCase e suportando currentColor.

Ou cole / edite o código SVG diretamente abaixo
import type { SVGProps } from "react"

export function SvgIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width="128" height="64" viewBox="0 0 128 64" {...props}>
  
  
  <rect x="16.12" y="12.57" width="96" height="40" rx="8" fill="currentColor" stroke="currentColor" strokeWidth="2"/>
  <circle cx="44.89" cy="32.44" r="10.25" fill="currentColor"/>
</svg>
  )
}

export default SvgIcon

Especificações técnicas e privacidade local

Processamento
100% local no navegador (sem upload)
Motor principal
SVGR Attribute AST Mapper (React TSX / JSX / Vue 3)
Licença e custo
Gratuito, sem marca d'água, sem cadastro

Perguntas frequentes

Transforme ícones SVG em componentes React TSX, React JSX ou Vue 3 com um clique, convertendo atributos para camelCase e suportando currentColor. (100% local no navegador (sem upload))