Skip to content

Internal ID software / Navigation

Breadcrumb

The trail from the front of the app to this page.

Not drawn in Figma: built only from the tokens, for internal ID software. In code: components/software/navigation.tsx. From the old system: Breadcrumb in @id-identity-as/ui/commerce.

Props

PropTypeDefaultWhat it does
items (required)BreadcrumbItem[]{ label, href? } from the start to here. The last item is the current page and has no href.
labelstring'Brødkrumme'The name of the navigation, read aloud.
asElementType'a'The element to render a link with.

Do

  • End the trail on the current page, as text.
  • Use it from the third level down. Two levels need no trail.

Do not

  • Do not make the current page a link. A link to where you are is a dead end.
  • Do not use a chevron as the separator. At body size it reads as a control; the separator is a slash.

Accessibility

  • A named navigation with an ordered list; the current page has aria-current="page".
  • The separators are hidden from screen readers.

Tokens it uses

  • color.text.default
  • color.software.muted
  • type.body.sm
  • type.heading.sm
  • space.inline.2