logo

SINGULARITY

DOCS

PurchaseReturn to the Dashboard
Reference

Breadcrumbs

Breadcrumbs are a sequence of links that illustrate a page's position within a website's hierarchical structure, enabling navigation to any parent page.

Basic breadcrumbs

Active last breadcrumb

Maintain interactivity for the final breadcrumb.

Custom separator

The following examples demonstrate the use of two string separators and an SVG icon.

Breadcrumbs with icons

Collapsed breadcrumbs

Condensed with menu

As an alternative approach, consider incorporating a Menu component to present condensed links in a dropdown format.

Customization

Below is an example of tailoring the component. Explore more details in the overrides documentation page.

Accessibility

Ensure the Breadcrumbs component includes an aria-label description for accessibility.
The accessibility of this component depends on:
  • Links are organized using an ordered list (<ol> element).
  • Visual separators between links are hidden from screen readers using aria-hidden.
  • A nav element with an aria-label marks the structure as a breadcrumb trail, establishing it as a navigation landmark for easy discovery.