Skip to content

Item

A versatile component for displaying content.

Basic Item

A simple item with title and description.

Your profile has been verified.

Installation

Anatomy

Usage

Variant

Default

Default Variant

Transparent background with no border.

Outline

Outline Variant

Outlined style with a visible border.

Muted

Muted Variant

Muted background for secondary content.

Custom spacing

The [--space:--spacing("value")] on ItemContent controls the internal spacing.

Default spacing is --spacing(3).

Compact spacing

Uses `[--space:--spacing(2)]` for tighter padding and gap.

Responsive spacing

Wider from `md` up with `md:[--space:--spacing(5)]`.

You can use breakpoint utilities to change the internal spacing at different screen sizes.

Examples

Icon

Security Alert

New login detected from unknown device.

Avatar

PV
Pasquale Vitiello

Last seen 5 months ago

Image

Midnight City Lights
Midnight City Lights

Electric Nights · Neon Dreams · 3:45

Coffee Shop Conversations
Coffee Shop Conversations

Urban Stories · The Morning Brew · 4:05

Digital Rain
Digital Rain

Binary Beats · Cyber Symphony · 3:30

Group

Use ItemGroup to group related items together.

v
vinihvc

vinihvc@example.com

s
segunadebayo

segunadebayo@example.com

p
pasqualevitiello

pasqualevitiello@example.com

Use ItemHeader to add a header above the item content.

v0-1.5-sm
v0-1.5-sm

Everyday tasks and UI generation.

v0-1.5-lg
v0-1.5-lg

Advanced thinking or reasoning.

v0-2.0-mini
v0-2.0-mini

Open Source model for everyone.

Use the asChild prop to render the item as a link. The hover and focus states will be applied to the anchor element.

Use Item inside a menu or dropdown to display rich content in menu items.

API Reference

Item

Layout for list items with media, title, description, and actions. Use [--space:--spacing("value")] via className to control padding and gap. Supports asChild.

ItemGroup

Groups related items with consistent spacing. Uses a fixed gap; adjust layout with className if needed. Has role="list" for accessibility.

ItemSeparator

Horizontal divider between items in a group.

ItemMedia

Avatar, icon, or image for the item. Supports icon and image variants.

ItemContent

Wraps the item title and description text.

ItemTitle

Primary title or heading for the item.

ItemDescription

Secondary description or subtitle for the item.

ItemActions

Holds action buttons or controls.

ItemHeader

Full-width header row above the item content.

ItemFooter

Full-width footer row below the item content.