Overview & Usage

The Breadcrumbs component provides a trail of navigational links that helps users track their location within a website’s hierarchy. This component improves user experience by allowing easy navigation between the current page and parent pages, such as the homepage. By default, the component does not include background or text color classes, but utility classes are available for customization, allowing you to adjust the appearance to fit the design needs.

1. Example & HTML Structure

Default

On Blue

The following example shows the HTML structure of the Breadcrumbs component.

<div class="bt1d-breadcrumbs">
  <div class="bt1d-breadcrumbs__inner">
    <span class="bt1d-breadcrumbs__item">
      <a class="bt1d-breadcrumbs__link" href="https://example.com/">Home</a>
    </span>
    <span class="bt1d-breadcrumbs__separator"></span>
    <span class="bt1d-breadcrumbs__item">
      <a class="bt1d-breadcrumbs__link" href="https://example.com/news-and-updates/">News and Updates</a>
    </span>
    <span class="bt1d-breadcrumbs__separator"></span>
    <span class="bt1d-breadcrumbs__item" aria-current="page">Article Title</span>
  </div>
</div>

2. Key Classes

4. Customization with Utility Classes

The Breadcrumbs component supports customization using the system’s utility classes for background and text colors. These classes are not applied by default but can be added to meet specific design requirements.

Example with Utility Classes

<div class="bt1d-breadcrumbs bt1d-blue-background-color bt1d-text-color--light">
  <div class="bt1d-breadcrumbs__inner">
    <!-- Breadcrumb items go here -->
  </div>
</div>