v0.1 public beta early access on GitHub
Home / Components / icon

IconiOS

Lucide icon set mapped to theme colors and sizes.

$ npx lumioui add icon
import { Icon } from "@/components/ui/icon/icon";
Props9
name? IconName Lucide icon name — e.g. "check", "chevron-down", "star".
color? keyof ColorTokens | ColorValue Color: a theme token ("foreground", "mutedForeground", "primary", …) or hex.
filled? boolean Fill the glyph (star, heart, bell).
strokeWidth? number Stroke width — default 2.
size? "sm" | "md" | "lg" | "xl" Size preset.
className? string
textClassName? string Extra classes for the glyph text (when children is a string).
accessibilityLabel? string Icons are decorative by default (hidden from screen readers). Provide a label for a standalone semantic icon — it is exposed with role "image".
children? React.ReactNode Custom element (e.g. your own SVG) — overrides `name`.
Icon — Sizessizes.tsx
icon/variants/sizes.tsx open

Lucide icon set mapped to theme colors and sizes.