Skip to content
caliper ui pro docs

Item

A generic row: media, title, description, meta and an action. It uses the data table's row spacing and its hover and selected fills.

Pro
Northwind vendor agreement, signed copy with every amendment and annex, 2026.pdf
Uploaded by Tomas Ferreira · 2.4 MB

When to use

  • Settings lists, search results, files and people.
  • The row inside a menu or a panel.

When not to use

  • Tabular data with columns to compare; use the data table.
  • A row with a link and a button side by side; make the row the link.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/item

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

Item

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
asChildboolean—Render the row as its child, such as a link: `<Item asChild><a href="…">…</a></Item>`.
currentboolean—The row for the current page or selection.
disabledboolean—

ItemContent

0 props

No props of its own; it accepts the native props of its root element.

ItemDescription

0 props

No props of its own; it accepts the native props of its root element.

ItemGroup

1 prop

Also accepts the native props of its root element and a ref.

PropTypeDefault
separateboolean—

ItemMedia

1 prop

Also accepts the native props of its root element and a ref.

PropTypeDefault
roundboolean—

ItemMeta

0 props

No props of its own; it accepts the native props of its root element.

ItemTitle

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes list and listitem semantics.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/item.md

The index of every part is at /llms.txt.

More in Dock & lists