0.0.5 • Published 11 months ago

icon-repository-demo v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

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-repository/react

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

Usage

import { AddBaseFilled, AddBaseOutline } from '@icon-repository/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
0.0.5

11 months ago