Skip to content
Zuno UI
Explore components
EXPLORE
Actions
Forms
Layout
Navigation
Data display
Feedback
Overlays
RESOURCES
Components/Breadcrumb

Breadcrumb

Hierarchical location with reasonable truncation and accessible names.

Installation

Run it from the root of a project already set up with zunoui init.

npx zunoui@latest add breadcrumb

Dependencies

What add breadcrumb installs alongside the component. The CLI skips any you already have in a compatible version.

ZUNO registry

  • @zuno/utils

Examples

3 examples · 1 component
breadcrumb

Location

Links for the ancestors and aria-current on the current page.

breadcrumb

Collapsed levels

Middle levels behind an ellipsis menu; a long label truncates with its full text in title.

breadcrumb

Custom separator

Pass a glyph as children; it stays decorative.

API reference

Forwards props and ref to the container element; it only adds composition utilities.

PropTypeDefault
Breadcrumb

Navigation landmark; aria-label defaults to "Breadcrumb".

nav"Breadcrumb"
BreadcrumbList / BreadcrumbItem

Ordered list that wraps on narrow screens.

ol / li—
BreadcrumbLink

A level you can go back to; labels truncate at 20ch (add title for the full text).

a—
breadcrumbLinkClass

Link styles for router links (NextLink, react-router…).

string—
BreadcrumbPage

The current page, with aria-current="page".

span—
BreadcrumbSeparator

Decorative and aria-hidden; pass children for a custom glyph. Flips in RTL.

lichevron
BreadcrumbEllipsis

Stands for collapsed levels; wrap it in a DropdownMenuTrigger.

span"More pages"

Accessibility

The nav is a named landmark and the ol exposes the number of levels; separators are hidden so they are not read between items.

The current page is a span with aria-current="page", not a link to itself.

Truncated labels keep their full text in title; collapsed levels stay reachable through the ellipsis menu, whose button has an accessible name.

Server-safe: no client JavaScript unless you add the dropdown.