Files
ui/docs/content/3.components/icon.md
Benjamin Canac e598ca5b40 docs: clean
2024-08-01 17:17:52 +02:00

24 lines
498 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 such as the `i-` prefix:
::component-code
---
props:
name: 'i-heroicons-light-bulb'
class: 'w-5 h-5'
---
::
::caution
It's highly recommended to install the icons collections you need, read more about this in [Icons](/getting-started/icons).
::