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

524 B

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.

::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:

pnpm i @iconify-icons/[collection_name]