Skip to content
프로젝트

소개

SVG를 React에서 사용할 수 있는 유효한 JSX로 변환하는 간단한 도구입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • class → className
  • style strings → JavaScript objects
  • Kebab-case → camelCase attributes
  • SVG Optimization: Built-in SVGO integration for cleaner output

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
-1

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

svg2jsx 🍃

Transform SVG to valid JSX

A web tool that converts SVG markup into JSX-compatible code for React applications.

Features

  • SVG to JSX Conversion: Automatically transforms SVG attributes to JSX format
    • class → className
    • style strings → JavaScript objects
    • Kebab-case → camelCase attributes
  • SVG Optimization: Built-in SVGO integration for cleaner output
  • Live Preview: Interactive editor with real-time conversion
  • File Upload: Drag-and-drop SVG files

Quick Start

npm install
npm run dev

Visit http://localhost:3000 to use the tool.

Scripts

npm run dev      # Start development server
npm run build    # Build for production
npm run start    # Start production server
npm test         # Run tests
npm run lint     # Lint code
npm run format   # Format code

Requirements

  • Node.js >= 18.20.0

Tech Stack

  • Next.js 15
  • React 18
  • TypeScript
  • Tailwind CSS
  • Biome (linting & formatting)

관련 프로젝트 살펴보기

불러오는 중…