Breadcrumb

Breadcrumb navigation with customizable separators. Displays the current page location within a navigational hierarchy.

Basic Usage

Preview

Two Levels

Preview

Props

PropTypeDefaultDescription
itemsBreadcrumbItem[]-Array of breadcrumb items. Each item has a label (string) and optional href (string). The last item is rendered as the current page.
separatorReactNode-Custom separator between items. Defaults to a slash.
classNamestring-Additional CSS classes.

Accessibility

  • Renders inside a <nav> element with aria-label="Breadcrumb"
  • Uses an <ol> list so screen readers announce the number of items
  • The current page item uses aria-current="page" to indicate the active location
  • Separator characters are hidden from assistive technology with aria-hidden