A wrapper around Nuxt Icon component to display icons.

Usage

You can use any name from the https://icones.js.org collection:

<template>
  <UIcon name="i-lucide-lightbulb" class="size-5" />
</template>
It's highly recommended to install the icons collections you need, read more about this in Icons.

API

Props

Prop Default Type
name

string

mode

"svg" | "css"

size

string | number

customize

(content: string, name?: string | undefined, prefix?: string | undefined, provider?: string | undefined): string