Breadcrumbs
Description
Breadcrumbs is a component for displaying the "user's path" on the website. It's usually used as an additional navigation element.
Why breadcrumbs are useful:
- they unobtrusively show the users which page they are on;
- they help you link to other pages on the site (useful for SEO);
- they allow you to move between higher/lower nesting navigation levels without clicking the forward/backward buttons in the browser.
Don’t use breadcrumbs on the main pages.
Appearance
Links inside this component have custom styles.
TIP
The last item in the breadcrumbs is always non-clickable.
Element | Styles |
---|---|
Link | font-size: var(--fs-200) , line-height: var(--lh-200) , color: var(--text-secondary) , cursor: pointer |
ChevronRight icon | color: var(--icon-secondary-neutral) |
Margins
Margins between the links inside the breadcrumbs is 8px.
Long links truncation
If there isn’t enough place for the breadcrumbs (screen is too small or the text is too long), items are truncated into ellipsis
.
TIP
Don't forget to check whether the full text is displayed in a tooltip. Refer to our example.
Interaction
State | Styles |
---|---|
Normal | font-size: var(--fs-200) , line-height: var(--lh-200) , color: var(--text-secondary) , cursor: pointer |
Hover | color: var(--text-primary) , text-decoration: underline |
Active | color: var(--text-primary) |
Usage in UX/UI
The recommended order of the navigation levels in the breadcrumbs:
- The first link is the product's Projects and/or the product's home page.
- The second link is the Name of the project.
- The third link is the Name of the product.
Last updated: