Components
Components
Breadcrumbs
Hierarchical trail linking ancestors to the current page.
newfree
Install
@hewnui/ui · hewnui
Compound Breadcrumbs and Breadcrumb built on React Aria. Ancestor crumbs
render as links; the current page renders as plain text with
aria-current="page".
- Docs
- Components
- Breadcrumbs
- Docs
- Themes
- Forest
Usage
Omit href (or set isCurrent) on the final crumb. Set aria-label on
Breadcrumbs when the page has more than one navigation landmark.
States
- Current — last crumb without
href, announced as the current page - Disabled —
isDisabledonBreadcrumbsmutes the whole trail - Focus — link crumbs show a focus ring on keyboard focus
Keyboard
Tabmoves through ancestor linksEnteractivates the focused ancestor- The current page crumb is not a link and is skipped as a tab stop
- Disabled trails remove all crumbs from the tab order
Accessibility
- Renders a navigation landmark; provide
aria-labelwhen needed - Current page is marked with
aria-current="page" - Separators are presentational and hidden from the accessibility tree
- Keep crumb labels short and unique within the trail
API reference
Props for Breadcrumbs from @hewnui/ui/breadcrumbs. Generated from component types — not hand-written.
Prop
Type