0.0.7-alpha.1 • Published 2 years ago

@waykit/sprites v0.0.7-alpha.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@waykit/sprites

Sprites

Sprites and icons package based on vite-plugin-svg-icons

Installation

npm

npm install @waykit/sprites

yarn

yarn add @waykit/sprites

How to build components

npm run build

yarn

yarn build

Add new sprites

Add .svg files to ./src/sprites

How to use

Import component

import { WSprite } from "@waykit/sprites";

Use as component

<w-sprite 
    name="logo" 
    fill="#fffccc"
    width="50" 
    height="85" 
/>

License

MIT

All questions: nefayran@gmail.com