Breadcrumbs
Show current location in navigation hierarchy.
Install
API Reference
| Prop | Type | Default | Description |
|---|
items | BreadcrumbItem[] | — | Array of breadcrumb items (required) |
variant | "slash""arrow"
| "slash" | Separator style variant |
separator | React.ReactNode | — | Custom separator element (optional) |
className | string | — | Additional CSS classes |
| BreadcrumbItem Property | Type | Required | Description |
|---|
label | React.ReactNode | ✓ | Display text or React node (required) |
href | string | — | Link URL (optional, makes item clickable) |
onClick | () => void | — | Click handler (optional, used if no href) |