Breadcrumb
Breadcrumb navigation component with chevron or slash separators and aria-current on the last item.
How to use it
Run npx @blossomui/react add breadcrumb, or copy src/components/UI/Breadcrumb/Breadcrumb.tsx into your React project and import it.
import { Breadcrumb } from './components/ui/Breadcrumb'Props
BreadcrumbItem
| Prop | Type | Description |
|---|---|---|
| label (required) | string | |
| href | string | Items without `href` are rendered as plain text. The last one is always the current page. |
BreadcrumbProps
| Prop | Type | Description |
|---|---|---|
| label | string | Accessible name of the navigation. |
| items (required) | BreadcrumbItem[] | |
| separator | 'chevron' | 'slash' |