A component to display any icon from Iconify.

Usage

Use the name prop to display an icon:

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

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