Item
List row primitive with optional leading, title, description, trailing, and chevron.
2.4 kBgzipped
At a glance
- A generic horizontal row for settings lists, menus, and data rows.
- Four horizontal zones:
leading | title + description | trailing | chevron. - All zones except
titleare optional. - Becomes a tappable
PressablewhenonPressis provided.
Preview
Usage
chevron
Set chevron={true} (or just chevron as a boolean shorthand) to render a
right-pointing arrow at the trailing edge — the standard affordance for
navigation rows that drill deeper.
disabled
Set disabled={true} to prevent interaction. The row renders at reduced opacity
and onPress is suppressed. Useful for locked entries in a settings list.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title* | ReactNode | — | Primary label. Accepts a string or any ReactNode. |
chevron | boolean | false | Show a chevron-right arrow at the far end. Useful for navigation rows. |
className | string | — | — |
description | ReactNode | — | Secondary label rendered below the title. |
disabled | boolean | false | — |
leading | ReactNode | — | Leading slot — typically an Icon, Avatar, or image. |
onPress | () => void | — | Makes the row tappable. |
testID | string | — | — |
trailing | ReactNode | — | Trailing slot — value text, badge, icon, etc. |