Breadcrumbs are used to provide context for the currently-viewed page.
||Base parent container for breadcrumbs|
||Individual breadcrumb element containing a link and a divider|
||Breadcrumb link element|
||Breadcrumb divider element|
Breadcrumbs show users where they are within a site’s hierarchy. Breadcrumbs help orient the user and allow for navigation to previous page levels. It can be appropriate to use a breadcrumb when:
- The user is many levels of navigation deep
- The current page does not have its own navigation
- The user needs to quickly go back to the previous parent page
Breadcrumbs should be the first page element—placed directly above the page’s title. The page the user is on should not appear in the breadcrumb trail, since that indicator is satisfied by the title of the page itself. Additionally, the last
.s-breadcrumb--item shouldn’t include the divider.
When possible, an icon can be used as the highest breadcrumb level. Take care in positioning this icon relative to the rest of the breadcrumb links.