Item

Generic content row primitive with media, content, and action regions

Category: display · WCAG 2.2-AA · row, primitive, list-item, layout

Variants

Sizes

Props

PropTypeDefaultDescription
asChildbooleanfalseWhen true, renders the child element as the root via Slot, merging props (polymorphic rendering).
variant'default' | 'muted'defaultSelects the visual style variant.
size'sm' | 'md'mdVisual size of the component (e.g. 'sm', 'md', 'lg').

Design tokens

When to use

When not to use

How to build an accessible Item in React →

Examples

Item with media, content, and actions

<Item>
  <ItemMedia><Avatar /></ItemMedia>
  <ItemContent>
    <ItemTitle>Ada Lovelace</ItemTitle>
    <ItemDescription>Mathematician</ItemDescription>
  </ItemContent>
  <ItemActions><Button size="sm">Edit</Button></ItemActions>
</Item>

As a link via asChild

<Item asChild>
  <a href="/profile">
    <ItemContent><ItemTitle>Profile</ItemTitle></ItemContent>
  </a>
</Item>

Related components

← Back to docs