Convertidor de SVG a React JSX / TSX y Vue
Transforme iconos SVG en componentes limpios de React TSX, React JSX o Vue 3 en un clic con atributos camelCase y soporte para currentColor.
O pegue / edite el código SVG directamente abajo
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
Especificaciones técnicas y privacidad local
- Procesamiento
- 100 % local en el navegador (sin subidas)
- Motor principal
- SVGR Attribute AST Mapper (React TSX / JSX / Vue 3)
- Licencia y costo
- Gratis, sin marca de agua, sin registro
Preguntas frecuentes
Transforme iconos SVG en componentes limpios de React TSX, React JSX o Vue 3 en un clic con atributos camelCase y soporte para currentColor. (100 % local en el navegador (sin subidas))
Gratis, sin marca de agua, sin registro · SVGR Attribute AST Mapper (React TSX / JSX / Vue 3)