Files
ui/docs/content/3.components/icon.md
2024-09-17 16:39:45 +02:00

24 lines
485 B
Markdown

---
description: A wrapper around Nuxt Icon component to display icons.
links:
- label: Nuxt Icon
icon: i-simple-icons-github
to: https://github.com/nuxt/icon
---
## Usage
You can use any name from the https://icones.js.org collection:
::component-code
---
props:
name: 'i-heroicons-light-bulb'
class: 'size-5'
---
::
::caution
It's highly recommended to install the icons collections you need, read more about this in [Icons](/getting-started/icons#collections).
::