Icon

Icon is a general icon component that can be used in your projects.

Usage

import { GhostIcon } from "@yamada-ui/react"
<GhostIcon />

You can find all the icons we offer at here.

Using React Icons

When using React Icons, set the component to as.

import { Icon } from "@yamada-ui/react"
import { FaRobot } from "react-icons/fa"
<Icon as={FaRobot} />

Using Lucide lab

When using Lucide lab, use LucideIcon.

import { LucideIcon } from "@yamada-ui/react"

Props

Accessibility

Currently, this section is being updated due to the migration of v2.