Breadcrumb
Show a resource hierarchy and mark its current page.
Use Breadcrumb to show a resource’s place in a navigation hierarchy. The current page is represented as a non-link item.
Basic usage#
Playground#
Props
Slots
Anatomy#
Usage#
Items and current page#
Use links for navigable ancestors. The last item is the current page by default; use active to select another item explicitly. The current page is a non-link span with aria-current="page". Explicitly disabled ancestors remain non-interactive and expose aria-disabled="true".
Examples#
Custom separator and disabled item#
Wrapping#
Attributes#
Attributes
data-disabledSlot: breadcrumb-linkDescription: Present when the component, slot, or item is disabled.data-currentSlot: breadcrumb-pageDescription: Present when the item represents the current location or step.Props#
Props for the Breadcrumb component. Renders a <nav> element by default.
Prop