Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 622 Bytes

README.md

File metadata and controls

44 lines (39 loc) · 622 Bytes

@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: [email protected]