Skip to main content Red Hat Design System logo Contribute on Github

Breadcrumb

Overview Style Guidelines Code Demos Accessibility

Usage

When there are at least two levels in a page hierarchy, breadcrumb navigation helps the user understand where they are on a website or web app. It allows them to navigate to a parent page of the page they’re currently viewing, making other content more discoverable as well.

Variants

Default

The unlinked page titles and separators in the default variant uses the --rh-color-text-primary-on-light or --rh-color-text-primary-on-dark for the text color.

Light theme breadcrumb with blue links and black text and separators Dark theme breadcrumb with light blue links and white text and separators

Subtle

The unlinked page titles and separators in the default variant uses the --rh-color-text-secondary-on-light or --rh-color-text-secondary-on-dark for the text color.

Light theme breadcrumb with blue links and dark gray text and separators Dark theme breadcrumb with light blue links and light gray text and separators

Responsive design

Size and spacing remain consistent for breadcrumbs at all screen sizes. The breadcrumbs will wrap to fit their container.

Large breakpoints

partial view of an article page with breadcrumbs at a screen width of 1000px

Small breakpoints

partial view of an article page with breadcrumbs at a mobile screen width of 360px

Best Practices

When not to use

Breadcrumbs should not be used as the main navigation.

breadcrumbs below the primary navigation

Do use breadcrumbs to supplement the primary or secondary navigation element.

breadcrumbs only with placeholder page text

Do not use breadcrumb navigation as the main way for users to navigate a website.

They should also not be used if there is only one level in the page hierarchy or if the current page is at the top of the page hierarchy.

one linked breadcrumb and one current page breadcrumb

Do use breadcrumbs if there are at least two levels in a page hierarchy.

one current page breadcrumb only

Do not use breadcrumbs if the current page is first in the page hierarchy.

Use consistent placement

Breadcrumbs should be placed consistently above the page title and below the primary (and secondary nav, if it’s used). Any other location on the page is not a common spot for breadcrumbs and is thus less easily found and recognized as breadcrumbs.

breadcrumbs placed below mobile navigation

Do place breadcrumbs in a familiar and consistent place for this type of navigation element.

breadcrumbs placed above mobile navigation

Do not add breadcrumbs above a primary or secondary navigation element or anywhere else on the page.

The page titles used in breadcrumbs should be consistent with what is used in the navigation and on the individual pages. Avoid changing the page titles in order to prevent user confusion.

Page with the title 'What are cloud services?' and current page breadcrumb that says 'What are cloud services?'

Do keep the same page title in the heading and in breadcrumb navigation.

Page with the title 'What are cloud services?' and current page breadcrumb that says 'Cloud services'

Do not change the title in the breadcrumbs only.

© 2021-2024 Red Hat, Inc. Deploys by Netlify