Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mryechkin/acme-icons
This is a starter project for an SVG-based icon component library for React, built using SVGR and Rollup
https://github.com/mryechkin/acme-icons
Last synced: about 1 month ago
JSON representation
This is a starter project for an SVG-based icon component library for React, built using SVGR and Rollup
- Host: GitHub
- URL: https://github.com/mryechkin/acme-icons
- Owner: mryechkin
- License: mit
- Created: 2021-02-24T03:35:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-13T03:47:29.000Z (almost 3 years ago)
- Last Synced: 2023-03-09T01:21:59.873Z (over 1 year ago)
- Language: JavaScript
- Size: 110 KB
- Stars: 12
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SVG Icon Component Library for React
This is a starter project for an SVG-based icon component library for React, built using [SVGR](https://react-svgr.com/) and [Rollup](https://rollupjs.org/).
## Overview
Generate ready-made React components from `.svg` files using `@svgr/cli` and bundle them into a library using `rollup`. No need to write any React code yourself!
Watch the tutorial video [here](https://youtu.be/v0ZLEy1SE-A)!
## Plugins
The following plugins are utilized in this project:
**Rollup:**
- [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/master/packages/babel)
- [rollup-plugin-filesize](https://github.com/ritz078/rollup-plugin-filesize)**Babel:**
- [@babel/plugin-transform-runtime](https://babeljs.io/docs/en/babel-plugin-transform-runtime)