Skip to content

Navigation

Breadcrumb

Breadcrumb navigation using a semantic nav and list.

stableNo JS requiredBuilt on <nav>hydrateless/breadcrumb.css

Breadcrumb navigation using a semantic <nav> wrapping an ordered list. CSS-only, no enhancer required.

Breadcrumb

Live

Props

The framework bindings expose these props (and forward the rest to the root element).

PropTypeDefaultDescription
hrefstringLink target for an item.
currentbooleanfalseMarks the current page with `aria-current`.

CSS variables

Override these on any ancestor to theme the component. See the theme studio to preview changes live.

CSS variableUsed for
--hl-fg-mutedSeparator and inactive link color.
--hl-primaryHovered link color.

Accessibility

  • Label the <nav> with aria-label="Breadcrumb".
  • Mark the current page with aria-current="page" and render it as text, not a link.

Released under the MIT License.