Breadcrumbs
Hierarchical navigation trail with configurable separator, overflow collapse, and semantic markup
import { Breadcrumbs } from "@nodus/design-system"Demo coming soon
Props
| Prop | Type | Default | Description |
|---|---|---|---|
itemsreq | BreadcrumbItem[] | — | Array of breadcrumb entries with label, optional href and onClick |
separator | ReactNode | "/" | Custom separator element |
maxItems | number | — | Maximum visible items before collapse |
size | "sm" | "md" | "lg" | "md" | Text size |
itemsrequiredType
BreadcrumbItem[]Default —Array of breadcrumb entries with label, optional href and onClick
separatorType
ReactNodeDefault "/"Custom separator element
maxItemsType
numberDefault —Maximum visible items before collapse
sizeType
"sm" | "md" | "lg"Default "md"Text size
Accessibility
- Uses <nav aria-label="Breadcrumb"> landmark
- Ordered list (<ol>) for proper structure
- aria-current="page" on last item
- Separators are aria-hidden
- Interactive items use <a> or <button>, never <span role="button">
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?