Breadcrumb
Navigationatlas-breadcrumbExamples
Router links
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.
With router links
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
| Input | Type | Default | Description |
|---|---|---|---|
| items required | BreadcrumbItem[] | — | aria-current="page" ). |
| maxItems | number | undefined | undefined | maxItems - 1 items. Unset (or below 2) never collapses. |
| ariaLabel | string | undefined | undefined | <nav> landmark. Defaults to the configured breadcrumb.label text. |
| class | string | '' | cn() ; yours win on conflicts. |
Types
BreadcrumbItem
| Property | Type | Description |
|---|---|---|
| label | string | |
| href? | string | routerLink for in-app navigation. |
| routerLink? | string | readonly unknown[] | href . |