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 breadcrumb
props
nametypedefaultdescription
items *Crumb[]-{ label, href? }[], root first. last is the current page.
separatorReactNode<ChevronRight />node placed between crumbs.
homeHrefstring-optional leading 'home' link prepended before items.
linkComponentReact.ElementType'a'anchor element/component for crumb links — pass your router's Link.
classNamestring-