$ rezi
Widgets

Breadcrumb

Shows a hierarchical path. Parent items can be clickable; the last item is always treated as the current location.

Shows a hierarchical path. Parent items can be clickable; the last item is always treated as the current location.

Usage

ui.breadcrumb({
  items: [
    { label: "Home", onPress: () => navigate("/") },
    { label: "Docs", onPress: () => navigate("/docs") },
    { label: "Tabs" },
  ],
  separator: " > ",
})

Props

PropTypeDefaultDescription
itemsArray<{ label: string; onPress?: () => void }>requiredBreadcrumb entries
separatorstring" > "Text between items
idstringauto-generatedOptional stable id
keystring-Reconciliation key

Keyboard Behavior

  • Tab/Shift+Tab: moves across clickable breadcrumb items.
  • Enter: activates the focused breadcrumb item.
  • The last breadcrumb item is not clickable.

On this page