Skip to content
nuxtPublic

About

The <Icon> component, supporting Iconify, Emojis and custom components.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.2k stars

Watchers

4 watching

Forks

Repository files navigation

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

About

The <Icon> component, supporting Iconify, Emojis and custom components.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.2k stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages