components / breadcrumb
breadcrumb.
breadcrumb trail from caller-supplied items; the last crumb is the muted current page. framework-agnostic links via linkComponent. ships a crumbsFromPath helper.
installation
bunx @justin06lee/chrome@latest add breadcrumbprops
| name | type | default | description |
|---|---|---|---|
| items * | Crumb[] | - | { label, href? }[], root first. last is the current page. |
| separator | ReactNode | <ChevronRight /> | node placed between crumbs. |
| homeHref | string | - | optional leading 'home' link prepended before items. |
| linkComponent | React.ElementType | 'a' | anchor element/component for crumb links — pass your router's Link. |
| className | string | - |