Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunghg255/svg-to-jsx
Script Convert Svg to JSX
https://github.com/hunghg255/svg-to-jsx
generator javascript npm svg
Last synced: about 1 month ago
JSON representation
Script Convert Svg to JSX
- Host: GitHub
- URL: https://github.com/hunghg255/svg-to-jsx
- Owner: hunghg255
- Created: 2023-04-20T03:21:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-01T23:56:29.000Z (9 months ago)
- Last Synced: 2024-11-12T10:02:10.881Z (about 2 months ago)
- Topics: generator, javascript, npm, svg
- Language: TypeScript
- Homepage: https://react-generate-svg-2-icon.vercel.app/
- Size: 376 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Script generate svg react component
[![npm version](https://badge.fury.io/js/agile-svg2jsx.svg)](https://badge.fury.io/js/agile-svg2jsx) [![npm](https://img.shields.io/npm/dt/agile-svg2jsx.svg?logo=npm)](https://www.npmjs.com/package/agile-svg2jsx) [![npm](https://img.shields.io/bundlephobia/minzip/agile-svg2jsx)](https://www.npmjs.com/package/agile-svg2jsx)
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg)](#contributors-)## Add script package.json
```bash
"scripts": {
...
"g": "npx agile-svg2jsx --i $PATH_SVGS_FOLDER --o $PATH_REACT_FOLDER"
},
```## Demo
![Demo](./public/demo.gif)
### About
Gia Hung – [hung.hg](https://hung.thedev.id)