Skip to content

Navigation

List & ListItem

The settings/navigation row: leading slot, title and subtitle, trailing value or control.

List ListItem
import { List, ListItem } from '@anomalia/ui';

Notes

  • A row with a Switch in trailing must not also be a button — leave onclick off and let the control own the tap.
  • Rows are at least 44px tall and ripple from the touch point.

Examples

Grouped

The iOS settings pattern. Note the last row: it has a Switch in `trailing` and deliberately no `onclick`, so the two controls never fight over the same tap.

Brands

Workspace

Notifications 3
Autopilot

API

ListItem

PropTypeDefaultDescription
title / subtitle / valuestringRow text and trailing detail.
href / onclickstring / functionMakes the row interactive.
chevronbooleanTrailing chevron; defaults to on for links.
leading / trailingSnippetIcon and control slots.

Every component also forwards the native attributes of its root element, plus class, so anything not listed here still works.