Skip to content
项目

关于

支持 Iconify、表情符号和自定义组件的 <Icon> 组件。

网站与应用开发

这些数字如何统计

可以做什么

  • 200,000+ open-source vector icons via Iconify
  • CSS mode and SVG mode
  • Custom icons, from Vue components or local SVG files
  • Client bundles for offline icons, and a standalone Vite plugin for Vue apps without Nuxt

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
-2

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Nuxt Icon

Nuxt Icon

npm version npm downloads License Nuxt

Add 200,000+ ready to use icons to your Nuxt application, based on Iconify.

Features

  • SSR friendly
  • 200,000+ open-source vector icons via Iconify
  • CSS mode and SVG mode
  • Custom icons, from Vue components or local SVG files
  • Client bundles for offline icons, and a standalone Vite plugin for Vue apps without Nuxt

Quick Setup

Add the module to your Nuxt project:

npx nuxt add icon

Then use the <Icon> component with any icon name from Icônes:

<template>
  <Icon name="uil:github" />
</template>

Read the documentation for usage, configuration, server and client bundles, icon customization, custom collections and testing.

Contributing

  1. Clone this repository
  2. Install dependencies using pnpm install (install pnpm with corepack enable, learn more)
  3. Run npm run dev:prepare to generate type stubs.
  4. Use npm run dev to start playground in development mode.

Credits

License

MIT License

探索相关项目

加载中…