Skip to content

Breadcrumb

Navigation

Hierarchical navigation with links and a chevron separator.

atlas-breadcrumb

Examples

Items with routerLink navigate inside the app; the last item is the current page and carries aria-current="page" .

Long trails

maxItems keeps the first item and the last maxItems - 1 ; the button between them reveals the rest and moves focus to the first revealed link. A narrow container wraps the trail instead of overflowing.

Items take routerLink for in-app navigation (or href for plain links). The last item is the current page: it is not a link and carries aria-current="page" .

API

Generated from the library source, so it always matches the code.

AtlasBreadcrumbComponent atlas-breadcrumb

InputTypeDefaultDescription
items requiredBreadcrumbItem[]— The trail from the root to the current page; the last item is the current page ( aria-current="page" ).
maxItems number | undefinedundefined Collapse the trail when it has more items than this: the first item, an expand button, then the last maxItems - 1 items. Unset (or below 2) never collapses.
ariaLabel string | undefinedundefined Accessible name of the <nav> landmark. Defaults to the configured breadcrumb.label text.
class string'' Extra CSS classes, merged with the component's own through cn() ; yours win on conflicts.

Types

PropertyTypeDescription
label string —
href? string Plain link (full page load). Use routerLink for in-app navigation.
routerLink? string | readonly unknown[] Angular Router link (string or commands array); takes precedence over href .