Breadcrumb
A horizontal trail of navigable items, scrollable when it overflows.
Home
/
Settings
/
Profile
<Breadcrumb
items={[
{ label: 'Home', onPress: () => navigate('/') },
{ label: 'Settings', onPress: () => navigate('/settings') },
{ label: 'Profile' },
]}
/>
Custom separator
Home
›
Profile
<Breadcrumb separator="›" items={items} />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | { label: string; onPress?: () => void }[] | Required. Trail items; omit onPress on the last one for the current, non-interactive page. | |
separator | string | '/' | Separator rendered between items. |
activeColor | TVajraColors | 'text' | Color of the last (current) item. |
inactiveColor | TVajraColors | 'textMuted' | Color of interactive items. |
separatorColor | TVajraColors | 'textMuted' | Separator color. |