Skip to content

Breadcrumb

Navigation trail showing the user’s location in a hierarchy. and-breadcrumb renders a <nav aria-label> wrapping an <ol>; group and-breadcrumb-item children inside it and mark the last one current.

Home Docs Breadcrumb
<and-breadcrumb>
<and-breadcrumb-item href="/" hide-separator>Home</and-breadcrumb-item>
<and-breadcrumb-item href="/docs">Docs</and-breadcrumb-item>
<and-breadcrumb-item current>Current page</and-breadcrumb-item>
</and-breadcrumb>
PropertyAttributeDescriptionTypeDefault
sizesizeSize variant for the breadcrumb trail."lg" | "md" | "sm"'md'
navLabelaria-labelAccessible label for the navigation.string'Breadcrumb'
PropertyAttributeDescriptionTypeDefault
currentcurrentMarks this item as the current page (adds aria-current).booleanfalse
hideSeparatorhide-separatorHide the leading separator (typically for the first item).booleanfalse
hrefhrefOptional URL. When set, the item renders as a link.stringundefined
sizesizeSize variant — should match the parent breadcrumb size."lg" | "md" | "sm"'md'
EventDescriptionType
andBreadcrumbNavigateEmitted when a breadcrumb link is activated.CustomEvent<string>
Note: `packages/web-components/src/components/and-breadcrumb/readme.md` currently documents `and-breadcrumb-item`, not the `and-breadcrumb` root — see the note on the [Accordion](/components/accordion/) page for why. The root's table above comes from `and-breadcrumb.tsx` directly.