Breadcrumb

Shows the path to the current page within a hierarchy.

Installation

  1. Add the registryOnce per project
  2. Add breadcrumb

Usage

End the trail with BreadcrumbPage rather than a link. To use your router's link, pass it to render on BreadcrumbLink, as in render={<Link to="/projects" />}.

Composition

Examples

Collapsed

Replace the middle of a long trail with a BreadcrumbEllipsis that opens a menu of the hidden pages. Give its trigger an aria-label.

Custom separator

Pass children to BreadcrumbSeparator to replace the chevron.

Props

The tables leave out className, style and render. Parts built on Base UI take them as its styling and composition guides describe.