@nova-design/icons
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

Nova Icons

Nova Icons是基于Vue3的一款开源图标库,Nova Icons包含400+个SVG图标,它允许你改变图标的粗细、颜色、渐变、尺寸,还内置了路径动画。

安装方式

安装方式:
npm install @nova-design/icons
或
yarn add @nova-design/icons
或
pnpm add @nova-design/icons

引入方式

// main.ts
// 引入Nova图标库
import * as novaIcons from '@nova-design/icons'

// 注册全部图标
Object.keys(novaIcons).forEach(key => {
  app.component(key, (novaIcons as any)[key])
})

// 或者单独引入
import { TwoAirplay, TwoSearch } from '@nova-design/icons'

// 在页面中调用
<nova-icon>
  <two-search />
</nova-icon>

Package Sidebar

Install

npm i @nova-design/icons

Weekly Downloads

4

Version

1.5.2

License

MIT

Unpacked Size

9.38 MB

Total Files

2009

Last publish

Collaborators

  • se_song