ListLink
A component for navigation items in lists with customizable icons and layout.
ListLink
A component for creating consistent navigation links in lists with support for icons, descriptions, and various layout options.
Import
Features
- Navigation support via expo-router
- Leading and trailing icons
- Optional description text
- Right-aligned content support
- Clear visual feedback on press
Props
Prop | Type | Default | Description |
---|---|---|---|
title | string | — | Primary text to display |
description | string | — | Secondary text shown below title |
href | string | — | Navigation destination |
icon | IconName | — | Leading icon name |
rightText | string | — | Text to display on the right |
rightContent | ReactNode | — | Custom component on the right side |
showChevron | boolean | true | Whether to show > chevron on right |
onPress | () => void | — | Custom press handler |
className | string | — | Additional styling classes |
contentClassName | string | — | Classes for the content container |