BreadcrumbNew
Where you are and the way back: a long trail folds its middle into "…", which opens the hidden crumbs in place one after another.
Used forFile browsersDocsAdmin panelsShops
Install with the shadcn CLI
Templates
Need the whole page?
43 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $99, and 5 are free.
Where it’s used
File browsers
Workspace / Projects / Northwind / Assets.
Docs
Section and page above the title.
Admin panels
Customers / Ada Okafor / Invoices.
Shops
Category trails above a product.
What it handles for you
Breadcrumbs fail on deep trails; folding keeps one line without losing the way back.
Folding middle
First and last two stay; the rest fold into "…".
Opens in place
Widths ease open with a 40ms stagger.
Current page
aria-current="page", not a link.
Links or buttons
href for routing, onClick for app state.
Overview
Long breadcrumbs either wrap onto two lines or cut the middle off for good. Here, past a limit, the middle folds into "…"; pressing it opens the hidden crumbs in place, each easing its width open with a short stagger. The last crumb is the current page, not a link.
States
- folded
- "…" stands in for the middle crumbs.
- opened
- Each hidden crumb's width eases open (380ms, 40ms apart) and fades in.
Usage
Props
| Prop | Type | Description |
|---|---|---|
| items | Crumb[] | label, href, icon, onClick. |
| max | numberdefault 4 | Crumbs before the middle folds. |
Accessibility and motion
- A nav landmark labelled "Breadcrumb" with an ordered list.
- Reduced motion: the crumbs appear at once.
Requirements
React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.
The CLI also installs ui-interaction-motion.
Source
Registry item: /r/breadcrumb.json


