Components
Item
BetaBeta — the props contract is close to final, but small breaking changes can still land.List row with media, content, and trailing actions.
Composition
Grouped content rows
- <ItemGroup>
- <Item>
- <ItemHeader />
- <ItemMedia />
- <ItemContent>
- <ItemTitle />
- <ItemDescription />
- <ItemActions />
- <ItemFooter />
- <ItemSeparator />
- <Item>
Installation
The Control UI source installs this primitive from src/registry/sources/control-ui/ui/item.tsx.
Dependencies
Raw code
Primary installed source
Knobs
Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.
--cui-item-* · 8 knobsHow the cascade resolves--cui-item-radius<length-percentage>var(--radius-lg)--cui-item-hover-background<color>transparent--cui-item-hover-border-color<color>var(--_item-border-color)--cui-item-border-width<length>0px--cui-item-active-scale<number>0.99--cui-item-gap<length-percentage>calc(var(--spacing) * 3)--cui-item-padding-block<length-percentage>calc(var(--spacing) * 3)--cui-item-padding-inline<length-percentage>calc(var(--spacing) * 3)