layout
Icon
Icon component with name lookup or direct icon data. Outline and solid variants.
import { Icon } from "@raydenui/ui"Interactive demo
Props
| Prop | Type | Default | Description |
|---|---|---|---|
name | IconName | — | Icon name (dynamic) |
icon | IconRecord | — | Icon data (tree-shakeable) |
size | "xs" | "sm" | "md" | "lg" | "xl" | number | "md" | Size |
variant | "outline" | "solid" | "outline" | Style |