Data display
List row
ONE row · the canonical row · last on the final row · select={{mode,selected}} makes it a radio/checkbox row · wrap lets long text run onto more lines
function ListRowDemo() { return ( <Card className="w-full gap-0 px-4 py-0"> <ListRow leading={<IconCircle as={BellIcon} />} title="Notifications" subtitle="Push and email" value="On" /> <ListRow leading={<IconCircle as={UsersIcon} />} title="Members" subtitle="3 pending invites" value="12" sublabel="+2 this week" sublabelClassName="text-success" /> <ListRow leading={<IconCircle as={CreditCardIcon} />} title="Plan" subtitle="Renews on 1 October" chevron onPress={() => {}} /> <ListRow leading={<IconCircle as={FolderIcon} />} title="Shared folder" trailing={<Badge variant="secondary"><Text>New</Text></Badge>} onPress={() => {}} /> <ListRow wrap leading={<IconCircle as={BellIcon} />} title="Send the revised quote to the client before Friday's review" subtitle="They asked for the delivery dates to be split by phase, with the second phase priced separately." last /> </Card> );}Usage
The canonical row. Put rows inside a Card with px-4 py-0; mark the last one last.
API
<ListRow leading title subtitle? wrap? value? sublabel? trailing? chevron? onPress? last? />Get it
Already in every copy of the native kit:
import { ListRow } from '@/components/kit/list-row';Details
- Exports
ListRow- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- row, cell, setting, menu item, list item
- Registry JSON
- /r/native/list-row.json
<div className="w-full max-w-md"> <ListRow leading={<IconCircle as={PackageIcon} />} title="Order #4821" subtitle="2 items · Delivered" value="£64.00" /> <ListRow leading={<IconCircle as={UserIcon} />} title="Ada Marsh" subtitle="Owner" chevron onClick={() => toast('Would open Ada')} /> <ListRow wrap leading={<IconCircle as={BellIcon} />} title="Send the revised quote to the client before Friday's review" subtitle="They asked for the delivery dates to be split by phase, with the second phase priced separately." last /></div>Usage
The canonical row. Put rows inside a ListGroup (or a Card with px-4 py-0 and last on the final row).
API
<ListRow leading title subtitle? wrap? value? sublabel? trailing? chevron? onClick? href? last? />Get it
Already in every copy of the web kit:
import { ListRow } from '@/components/kit/list-row';Details
- Exports
ListRow- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Installs with
- @halftone-web/lib-link
- Also searched as
- row, cell, list item
- Registry JSON
- /r/web/list-row.json
Agents: the whole registry is at /llms.txt.