Skip to content
SevenUI
Sign in
On this page

Item

A flexible list item with media, content, and actions, for settings rows, file lists, contact lists, and notifications.

Your profile is verified

Verification adds a badge next to your name on your public profile.

Installation

Bash

Usage

Item is a general-purpose content row — for form inputs use Field instead. ItemHeader and ItemFooter span the full width above and below the media/content row.

Examples

Variants

default

The default variant of the item component.

outline

The outline variant of the item component.

muted

The muted variant of the item component.

Group

ItemGroup renders a role="list" stack; ItemSeparator divides rows. An item becomes a link through the render prop.

API reference

Item

Renders a div by default; swap the element with the Base UI render prop (for example render={<a href="…" />} for link rows).

PropTypeDefault
variant"default" | "outline" | "muted""default"
size"default" | "sm" | "xs""default"
renderReact.ReactElementdiv

ItemMedia

Extends div. Aligns itself to the first line when a description is present.

PropTypeDefault
variant"default" | "icon" | "image""default"

icon sizes a single icon; image renders a rounded, size-aware thumbnail; default leaves media (avatars etc.) unstyled.

ItemSeparator

Extends Separator, fixed to horizontal.

ItemGroup, ItemContent, ItemTitle, ItemDescription, ItemActions, ItemHeader, ItemFooter

Structural wrappers extending div (description renders a p). They accept standard element props and className.

Was this page helpful?