Skip to content

Breadcrumb ​

WARNING

This component is still under development. It is not yet available in releases of Codex.

Breadcrumb is a list of links to the parent pages of the current page in hierarchical order.

Configurable ​

NameValue
Props
maxVisible
truncateLength
View
Reading direction

Overview ​

When to use Breadcrumb ​

Breadcrumbs are used to provide a clear navigation path within a hierarchical structure, showing the user's current location and allowing easy navigation to parent or sibling sections.

Use Breadcrumb to display where the user is within a hierarchy by showing a structured navigation path within the hierarchy.

Avoid using Breadcrumb for single-level navigation or flat structures. If a navigation menu alone suffices for the structure, a breadcrumb trail may not be necessary.

About Breadcrumb ​

Breadcrumb contains the following elements.

Each visible item in the trail will be displayed as a link. The current page is displayed last in bold text. Items should appear in order from top level to the current page.

Overflow menu ​

If there are more breadcrumb items than the visible item limit, the rest of the items will be displayed in a MenuButton.

Examples ​

Basic usage ​

  • Align breadcrumbs to the start of the page, above the content and below the main navigation.
  • Ensure breadcrumbs follow the logical page hierarchy.

With overflow menu ​

  • Limit visible items to ensure breadcrumbs display on a single line.

Technical implementation ​

Vue usage ​

Props ​

Prop nameDescriptionTypeDefault
items(required)An array of breadcrumb items. Items will be displayed in the order they appear. The final item should be the current page.BreadcrumbItem[]
truncateLengthThe minimum number of characters before truncation occurs. This allows you to configure the length at which breadcrumb item texts are truncated.number10
maxVisibleThe maximum number of visible breadcrumb items. Extra items will be moved into an overflow menu.number6

Keyboard navigation ​

KeyFunction
TabMoves the focus to the next breadcrumb item within the breadcrumb list or to the next interactive element in tab order when the focus is placed on the last link in the group.
Shift + TabMoves the focus to the previous breadcrumb item within the breadcrumb list or to the next interactive element in tab order when the focus is placed on the first link in the group.