← Back to Components

Breadcrumb

Page-shell breadcrumb trail with aria-current page entry and collapsible middle.

Interactive Playground

R Code

API Reference

block_breadcrumb()

Static page-shell breadcrumb trail rendered as a nav[aria-label='breadcrumb'] landmark.

ArgumentTypeDefaultDescription
...tagsrequiredblock_breadcrumb_item() and block_breadcrumb_ellipsis() entries; separators are inserted automatically.
separatorcharacter | tagNULLSeparator between entries (string or tag); defaults to a chevron icon, hidden from assistive technology.
stylecharacterNULLInline CSS styles for the nav container.
classcharacterNULLAdditional classes for the nav container.

block_breadcrumb_item()

One breadcrumb entry: a link, plain text, or the aria-current page marker.

ArgumentTypeDefaultDescription
labelcharacter | tagrequiredEntry label.
hrefcharacterNULLDestination URL; renders an anchor. Ignored when current = TRUE.
currentlogicalFALSEMarks the current page: non-interactive span with aria-current='page'.
classcharacterNULLAdditional classes for the list entry.

block_breadcrumb_ellipsis()

Collapsed-middle marker for long trails: decorative glyph plus visually hidden label.

ArgumentTypeDefaultDescription
labelcharacter'More'Visually hidden text announced to assistive technology.
classcharacterNULLAdditional classes for the list entry.