Skip to content

Breadcrumbs

Edit on GitHub
@volvo-cars/css v2.3.0

The breadcrumb is a secondary navigation pattern that helps a user understand the hierarchy among levels and navigate back through them.

Default is used for md and lg breakpoints. Example with 3 pages.

Breadcrumbs anatomy

  1. Trail
  2. Separator
  3. Trail
  4. Current page label (Not interactive)

Last link of the trail is used on sm breakpoint.

Breadcrumbs small anatomy

  1. Last link of the trail
  2. Chevron back

Breadcrumbs show users their current location relative to the information architecture and enable them to quickly move up to a parent level or previous step.

Breadcrumbs are useful in products and experiences with a vast amount of content organized in a hierarchy exceeding two levels. They occupy minimal space while providing context about the user’s location within the navigation hierarchy.

Breadcrumbs should be considered as secondary and should not replace the primary navigation completely. They are not recommended for products with single-level navigation as they can create unnecessary clutter.

Breadcrumbs on lg and md breakpoints can show up to 5 pages. Trail 1 and Current page are always visible.

Breadcrumbs lg and md variant

Displaying Breadcrumbs in lg and md breakpoint.

Breadcrumbs on sm breakpoint is using the last link of the trail that takes you backwards one page. This should not be used for any other breakpoints.

Breadcrumbs sm variant

Displaying Breadcrumbs in sm breakpoint.

Breadcrumbs are placed in the top left portion of the page. They sit underneath the navigation, but above the page title.

Breadcrumbs top placement sm

Displaying Breadcrumbs at the top of the page in sm breakpoint.

Breadcrumbs top placement lg

Displaying Breadcrumbs at the top of the page in lg breakpoint.

Breadcrumbs can also be placed in the bottom of the page after content above the Footer.

Breadcrumbs bottom placement sm

Displaying Breadcrumbs at the bottom of the page in sm breakpoint.

Breadcrumbs bottom placement lg

Displaying Breadcrumbs at the bottom of the page in lg breakpoint.

The Default state refers to the initial status of the tab. While it is not currently being interacted with, it is ready and available for interaction.

Breadcrumbs default state

Displaying Breadcrumbs Trail in Default state.

The Hover state is shown when the user places a cursor over the trail on non-touch devices.

Breadcrumbs hover state

Displaying Breadcrumbs Trail on Hover state.

The Pressed state communicates a user click, tap, or press. On touch devices the Pressed state is identical to the Hover state described above. On devices where the link can be hovered, the link is brought back to its Default state on press.

Breadcrumbs pressed state

Displaying Breadcrumbs Trail on Pressed state.

Every page within the breadcrumb component should be interactive and link to its respective page, with the exception of the current page.

Users can activate an item by clicking on a breadcrumb page link. The separators between these links are not interactive.

Users can navigate between breadcrumb links using the Tab and Shift-Tab keys. To trigger a breadcrumb link, press Enter when the link is in focus.

Breadcrumbs light mode lg

Displaying breadcrumbs in lg and md breakpoints in light mode.

Breadcrumbs light mode sm

Displaying breadcrumbs at the sm breakpoint in light mode.

Breadcrumbs dark mode lg

Displaying breadcrumbs in lg and md breakpoints in dark mode.

Breadcrumbs dark mode sm

Displaying breadcrumbs at the sm breakpoint in dark mode.

Breadcrumbs target size

Breadcrumb Trails uses a 40px target size.

Breadcrumbs horizontal spacing

Breadcrumbs use an 8px spacer between links and separators.

Breadcrumbs vertical spacing

Breadcrumbs use 8px spacing at the top and bottom.

Keep links and current page label as short as possible. Max 30 char.

Breadcrumbs example sm top

Displaying Breadcrumbs in top of page on sm breakpoint.

Breadcrumbs example md top

Displaying Breadcrumbs in top of page on md breakpoint.

Breadcrumbs example lg top

Displaying Breadcrumbs in top of page on lg breakpoint.

Breadcrumbs example sm bottom

Displaying Breadcrumbs in bottom of page on sm breakpoint.

Breadcrumbs example md bottom

Displaying Breadcrumbs in bottom of page on md breakpoint.

Breadcrumbs example lg bottom

Displaying Breadcrumbs in bottom of page on lg breakpoint.

  • Do not truncate text. Write shorter text instead.
  • Do not show more than 5 links on md and lg breakpoint.
  • For smaller devices use the sm variant with back to last link of the trail.
  • Current page in breadcrumbs is not interactive and will not have any states.