Genesis
@beta

NativeListItem

ListItem — recurring row in a list (settings, contacts, results). Slots: leading (avatar / icon), title, subtitle, trailing (chevron / accessory / action). Supports pressable variants with automatic divider rendering between adjacent items via a wrapper pattern (see <NativeListItemDivider>). For platform-default chevrons, pass `showChevron`; the chevron uses the muted-foreground token. `actions` gives the row its actions the iOS way (ADR 0028): behind a swipe (leading and trailing, full swipe, iOS 26's round style with `actionsAppearance="round"`), in the long-press menu (the system context menu with `GenesisModules.menu`), and as VoiceOver's actions.

packages/ui-native/src/components/list-item.tsx

Import
Subpath export: @marktiderman/genesis-ui-native
import { NativeListItem } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

NativeListItem

PropTypeDefaultDescription
title*string—
accessibilityLabelstring—What a screen reader reads for the row. Default its title and subtitle. The row is one element, so a `trailing` badge's own label is not read: put its words here too.
accessibilityRoleenum—What a pressable row is to a screen reader. Default `button`; a row that flips its switch (NativeToggleRow) is a `switch`, and one choice of several (NativeWorkspaceSwitcher) a `radio`, each with `accessibilityState.checked`.
accessibilityState{ checked?: boolean; selected?: boolean; } | undefined—Merged over the row's own (`disabled`).
actionsreadonly RowSwipeAction[]—The row's actions: swipe, long-press menu and screen-reader actions, from one list.
actionsAppearanceenum—How the swipe draws them: `"fill"` (default) or iOS 26's `"round"`.
classNamestring—
disabledboolean—
leadingReactNode—Slot rendered to the left of the title (avatar / icon).
onPress(() => void)—When provided, the row becomes pressable.
showChevronboolean—When true, renders a chevron-right at the end.
subtitlestring—
subtitleLinesnumber | null—How many lines the subtitle shows before it's cut short. Default 2; `null` wraps it whole (a value to read, an id).
subtitleSelectableboolean—The subtitle can be selected and copied (a value: an id, a URL). Default false.
testIDstring—
trailingReactNode—Slot rendered to the right of the title (badge / accessory).

NativeListItemDivider

PropTypeDefaultDescription
classNamestring—