Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)