Skip to content
Design System
GitHub

Item

v0.9.0

A row of content: media, title and description, and trailing actions. Links draw the hover fill.

API reference

Generated from the types. Every part also takes className.

Item

Also takes every prop of <div>.

variant
"outline" | "default" | "muted" = "default"
size
"sm" | "md" = "md"
asChild
boolean

ItemMedia

Also takes every prop of <div>.

variant
"image" | "icon" | "plain" | "avatar" = "icon"

Other parts

  • ItemGroup, ItemContent, ItemTitle, ItemActions, ItemHeader, ItemFooter and ItemSeparator take every prop of <div>.
  • ItemDescription takes every prop of <p>.