https://github.com/dxcweb/svg-to-react
Transform SVG into React components
https://github.com/dxcweb/svg-to-react
javascript jsx react svg svg-to-jsx svg-to-react
Last synced: 4 days ago
JSON representation
Transform SVG into React components
- Host: GitHub
- URL: https://github.com/dxcweb/svg-to-react
- Owner: dxcweb
- Created: 2022-07-02T15:50:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-06T05:19:04.000Z (over 2 years ago)
- Last Synced: 2025-05-07T21:07:20.227Z (4 days ago)
- Topics: javascript, jsx, react, svg, svg-to-jsx, svg-to-react
- Language: JavaScript
- Homepage: https://dxcweb.com/svg-to-react/
- Size: 350 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# svg-to-react
svg在线压缩并转换为jsx语法的react组件,在react中优雅的使用svg。
[在线链接](https://dxcweb.com/svg-to-react/)
## 开发
```
yarn
yarn start
open http://localhost:8888/
```## 构建
```
yarn build
```