Design System
Navigation

Breadcrumb

Trace the path back through the hierarchy, so people always know where they are and can step back up.

Purpose

Only worth showing where the hierarchy is real and more than two levels deep. The current page is the last crumb and is not a link.

Example

Structure

The tokens behind the control.

PropertyValue
List14px --muted-foreground, 6px gap, wraps onto new lines
Linkhover --foreground; focus shows an underline
Current page14px / Inter 600, --foreground
Separator16px chevron_right glyph, --muted-foreground

Best practices

Do

  • Show the full real hierarchy — every crumb except the last must be a working link.
  • Keep crumb labels identical to the page titles they lead to.
  • When the trail gets long, collapse it editorially: render the first crumb and the last one or two levels, and drop the middle ones. There is no ellipsis part in this package — the levels you keep must each remain real links.

Don't

  • Show a breadcrumb for hierarchies of one or two levels — it adds noise, not orientation.
  • Make the current page a link — it is a BreadcrumbPage, not a BreadcrumbLink.
  • Truncate individual labels so short they stop identifying the level.
  • Use a breadcrumb as a step indicator — that is Stepper's job.

Accessibility & keyboard

  • The root Breadcrumb is a nav landmark labelled "breadcrumb", wrapping the list; the current page carries aria-current="page".
  • Separators are decorative and hidden from assistive technology.
  • The current page renders as a non-interactive role="link" with aria-disabled="true" — it is announced as part of the trail but cannot be followed.
  • Keyboard: Tab moves between crumb links; Enter follows one. The current page is not in the tab order.

Props

Every part is a styled native element — nav, ol, li, a, span — and accepts the matching native attributes; there are no extra props. BreadcrumbLink renders a plain <a> taking href, and BreadcrumbPage marks the current page.

Every Breadcrumb part in Storybook

On this page