KQ-199 · BREADCRUMB/TRAIL

Breadcrumb Trail

A breadcrumb whose separators draw themselves in as a connected trail. When the path outgrows its width the middle folds into an ellipsis that expands the hidden crumbs back in on click, and the last crumb is marked as the current page.

KQ-199 · BREADCRUMB/TRAIL

Went to

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/breadcrumb-trail

Props

PropTypeDefaultDescription
itemsCrumb[]The path — id, label, optional href.
maxVisiblenumberCrumbs shown before the middle collapses into an ellipsis.
onNavigate(crumb) => voidCalled on activation; prevents default navigation when set.