Breadcrumbs
Show the path to the current page.
Installation
import { Breadcrumbs } from "~/components/ui/Breadcrumbs";Usage
<Breadcrumbs items={[{ label: "Home", href: "/" }, { label: "Computer repair" }]} />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| items | { label, href? }[] | - | The trail; the last item is the current page. |
Accessibility
- A nav[aria-label=Breadcrumb] with an ordered list; the current page carries aria-current.