rayine-ui/docs/content/2.components/icon.md

25 lines
524 B
Markdown

---
description: Add icons to your app. Based on Iconify
---
## Usage
This component is a wrapper based on the `@nuxt/icon` library, which is based on Iconify. So you can use any icon name available on [icones.js.org](https://icones.js.org/).
::ComponentPreview
---
privateProps:
class: w-6 h-6
props:
name: tabler:brand-github
---
::
## Collections
It's recommended to install the icon collection you want to use locally. You can do this by running:
```bash [Terminal]
pnpm i @iconify-icons/[collection_name]
```