- Components
- Data display
Item
A flexible row: media, content and actions. Render it as a link to get the hover fill.
Installation#
npx shadcn add @ortaui/itemExamples#
Variants#
Group and link#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "outline" | "muted" | "default" | Border and fill. |
| size | "default" | "sm" | "default" | Padding. |
| render | ReactElement | - | Render as a link or another element. |
| variant | "default" | "icon" | "image" | - | On ItemMedia. |