ListItem
Data Display

ListItem

Render a List row with media, text, metadata, and trailing actions.

ListItem renders a row with media, a title, a description, metadata, and trailing actions. Place it inside a List or another list container.

Import

TSX
import { ListItem } from "@solarius/onset";

Props

ListItemProps props
PropTypeDefaultDescription
mediaReactNode—Content before the label.
titleReactNode—Primary row text.
descriptionReactNode—Secondary content below the title.
metaReactNode—Right-aligned secondary content.
actionsReactNode—Trailing controls, kept out of the click target.
selectedboolean—Selected highlight state.
disabledboolean—Greyed out, non-interactive.
navigableboolean—Shows a chevron and hover styling for navigation rows.

Example

ListItem