https://github.com/lukethacoder/svg-to-html
🚀 Utility script to convert a folder of svg files to html files (incl. extra attributes)
https://github.com/lukethacoder/svg-to-html
html lightning-web-components svg-converter svg-icons
Last synced: 3 months ago
JSON representation
🚀 Utility script to convert a folder of svg files to html files (incl. extra attributes)
- Host: GitHub
- URL: https://github.com/lukethacoder/svg-to-html
- Owner: lukethacoder
- License: gpl-3.0
- Created: 2022-03-01T12:52:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T13:16:13.000Z (over 3 years ago)
- Last Synced: 2025-02-28T19:30:54.837Z (4 months ago)
- Topics: html, lightning-web-components, svg-converter, svg-icons
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svg-to-html
Utility script to convert a folder of svg files to html files (incl. extra attributes).
## Run the script
1. Place your `.svg` files in the `/svgs` folder.
2. Run `node script.js`
3. Profit 🚀In addition to a folder of `.html` svgs, you get a nice `js` file with LWC based imports.
---
Example svgs thanks to [tabler-icons](https://github.com/tabler/tabler-icons)