Skip to content

Breadcrumb

Horizontal path trail for hierarchy (items with id, label, optional href).

HTML tag: c-ec92f8af844bb4419bee07d0ee3f9388a

  • page location trail (Home > Settings > Profile)
  • hierarchical path with overflow ellipsis
  • navigate up the folder/entity hierarchy
PropTypeDefaultDescription
itemsArray
active_item_idString
max_itemsNumber
overflow_modeStringcenter
separator_iconStringmi:chevron_right
overflow_iconStringmi:more_horiz
appearanceStringlink
toneStringneutral
sizeStringsm
densityStringcompact
current_appearanceStringoutline
current_toneStringprimary
current_clickableBoolean
aria_labelStringBreadcrumb
  • Pass .items array; set active_item_id for current crumb.
  • max_items + overflow_mode collapse middle segments.
  • breadcrumb-select when user picks a segment; separator/overflow icons use mi: prefix.
  • For app section switching use ab-nav/ab-tabs, not breadcrumb alone.
EventDetail
breadcrumb-selectid: String, href: String, index: Number
breadcrumb-overflow-clickhiddenItems: Array

Do not use as primary app menu (ab-nav). Do not confuse with ab-tree (hierarchical data browser).

<c-ec92f8af844bb4419bee07d0ee3f9388a .items=${crumbs} .active_item_id=${currentId} @breadcrumb-select=${onCrumb}></c-ec92f8af844bb4419bee07d0ee3f9388a>