Breadcrumbs
A navigation trail; the last item is the current page. RTL-aware.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
A navigation trail; the last item is the current page.
Accessibility
Arrow keys move between items; the current item is marked aria-current. Tabs follow the WAI-ARIA tabs pattern (roving tabindex, Home/End).
Install and import
npx shadcn@latest add @prism/breadcrumbs
import { Breadcrumbs } from '@/components/prism/Breadcrumbs';
In a no-build prototype, read it from the bundle instead: const { Breadcrumbs } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
items | Crumb[] | Yes | |
label | string | — | Accessible label for the nav landmark. Default "Breadcrumb". |
className | string | — |