Breadcrumbs

The trail above the current page. A navigation landmark around an ordered list, so it can be jumped to and read as a path rather than as a row of links.

Reach for it

Showing where a page sits in a hierarchy that has one.

Not for

A flat set of views. That is Tab nav.

Short and long trails

The current page is its own component rather than a flag on the last crumb, so a trail cannot end up with two current pages or none. The separator belongs to the parent and is hidden from assistive technology, so no crumb needs to know whether it is last.

API reference

Breadcrumb

PropTypeDefaultDescription
href*string-
children*ReactNode-
renderReactElement-An app's router link, rendered in place of the anchor. Keeps the package free of a Next.js dependency, exactly as Link does.

BreadcrumbPage

PropTypeDefaultDescription
children*ReactNode-

Breadcrumbs

PropTypeDefaultDescription
label*string-Names the nav landmark, so a screen reader can list it as the trail.
children*ReactNode-