NAVIGATION
Breadcrumbs
Hierarchy trail rendered as a labelled <nav> landmark. The last item should be marked current so it renders as plain text with aria-current="page".
Import
Basic usage
Custom separator
Props
Breadcrumbs props
| Prop | Type | Default | Description |
|---|---|---|---|
| separator | ReactNode | — | Custom node rendered between items. Defaults to a Memphis ChevronRightIcon. Override for a slash, dot, or any glyph. |
| children | ReactNode | — | A list of BreadcrumbItem children. |
| className | string | — | Tailwind classes are merged on the wrapping <nav>. |
BreadcrumbItem props
BreadcrumbItem props
| Prop | Type | Default | Description |
|---|---|---|---|
| href | string | — | Link target. Omit on the last (current) item. |
| current | boolean | — | Mark the item as the current page — renders a non-link <span> with aria-current="page". |
| children | ReactNode | — | Item label. |
Accessibility
- The wrapper renders
<nav aria-label="Breadcrumb">containing an ordered list — the canonical pattern for breadcrumb landmarks. - Separators are rendered as
role="presentation"+aria-hidden, so screen readers announce only the item labels. - The current page should be the last item with
currentset — Radix renders it as a non-link<span>witharia-current="page".