TopDev
🧬

SVG → React/JSX Component Converter

Convert SVG sang React/JSX component. Tự động đổi attribute kebab-case → camelCase, hỗ trợ TypeScript, currentColor, size/color props.

Tất cả công cụ Browser-only
React/JSX Component
 

Convert SVG (raw XML hoặc Figma export) sang React/JSX component. Đổi attribute kebab-case → camelCase, escape <style>, optional TypeScript types.

Khi nào cần convert SVG → JSX?

Khác biệt SVG vs JSX

Tip props pattern

Phù hợp với ai

Frontend dev, UI/UX designer, ai cần prototype visual nhanh hoặc sinh CSS chuẩn copy-paste cho dự án Tailwind/React/Vue.

Câu hỏi thường gặp

CSS sinh ra có dùng được với Tailwind không?

Có. Output là CSS chuẩn vanilla, paste vào file .css bất kỳ. Nếu dự án dùng Tailwind, có thể đặt vào layer @utilities hoặc theme override.

Có hỗ trợ trình duyệt cũ không?

Output dùng cú pháp CSS modern (custom properties, grid, gap). Hoạt động tốt trên Chrome/Firefox/Safari 2020+. IE11 KHÔNG được hỗ trợ.

Công cụ liên quan

Xem tất cả công cụ →