Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 923 Bytes

README.EN.md

File metadata and controls

42 lines (28 loc) · 923 Bytes

Intro

The simplest SVG icon library, the reference comes from IconPark. The difference is that this library only supports single-color icons, but it may be more suitable for icons in your project

Features:

  • Only supports changing the color and size attributes.
  • Designers/developers can generate components by directly exporting (arbitrary) svg files in figma\sketch\photoshop without making svg according to drawing specifications.

Install

yarn add @icon-garden/react

# for vue
yarn add @icon-garden/vue-next

Usage

import { AddBaseFilled, AddBaseOutline } from '@icon-garden/react';

<AddBaseOutline color="#b0b1b8" size="20" />

Add Icons

Put any svg icon file in the /source directory and execute

# generate components
npm run compiler

# build components to lib & es
npm run build

# publish
npm run publish