Skip to content
Work in progress - do not use in production. This component is still being built: it is not flagged Ready for Dev, so its markup, attributes, events and styles can all still change without notice, it is not covered by the accessibility gate, and it is not published to npm. It is on this site so the work can be seen and reviewed - nothing more.

Breadcrumbs

A navigation breadcrumb trail component.

Usage

<nav is="root-breadcrumbs" aria-label="Breadcrumb">
  <a href="/">Home</a>
  <a href="/section">Section</a>
  <span aria-current="page">Current</span>
</nav>

Attributes

Attribute Type Default Description
separator string '/' Separator character
aria-label string 'Breadcrumb' Navigation label

Events

Event Detail Description
root-breadcrumbs.navigate { value } Fired on breadcrumb click

Extends

HTMLElement - use with <nav is="root-breadcrumbs">.