Breadcrumb
The trail of pages that leads to this one, with the Navigation menu's highlight gliding between its links. When it runs out of room, the crumbs after the first fold into a Dropdown menu behind “…”, the earliest first, and unfold as room comes back.
npx shadcn add https://kinoui.com/r/breadcrumb.jsonCopy install command
Examples
Default
Links to the pages on the way here, and the page you’re on at the end. The highlight glides between the links.
Icons
An icon goes before a crumb’s name and is sized for it. A crumb that is only an icon takes an aria-label.
Folding
Drag the frame’s corner: the crumbs that don’t fit fold into “…”, the earliest first, and come back as it widens.
Separator
A separator’s children replace the chevron, such as a slash.
Installation
Copy code
npx shadcn@latest add https://kinoui.com/r/breadcrumb.json- Files
lib/reduce-motion.tslib/scroll.tslib/refs.tslib/resize.tslib/swap.tsxlib/popup.tslib/glide.tsxcomponents/kino/tooltip.tsxlib/cut.tsxcomponents/kino/separator.tsxlib/run-progress.tslib/highlight.tslib/menu.tsxcomponents/kino/dropdown-menu.tsxcomponents/kino/breadcrumb.tsx- Packages
@base-ui/reactclass-variance-authority- Global CSS
- the feels, the density tokens, the shape tokens and the success and warning colours
New to Kino? Installation covers what your project needs first and the @kino namespace.
API reference
BreadcrumbList
BreadcrumbLink
Data attributes
Accessibility
- The trail is a
navlandmark named “Breadcrumb”, holding an ordered list. The page you’re on isaria-current="page"and isn’t a link. - Separators are hidden from screen readers, so each crumb is read once, as a link in a list.
- Every link is in the tab order, “…” included: it is a button that opens a menu of the folded pages, moved through with the arrow keys and closed with Escape, which hands focus back to it.
- The highlight follows the pointer and visible focus. In forced colours it takes the system highlight, and the focus ring stays.