Breadcrumb
Breadcrumb
Section titled “Breadcrumb”<ax-breadcrumb> is a navigation trail. Project <ax-breadcrumb-item> children; each renders a
leading separator (hidden on the first via CSS). Mark the current page with [current]="true".
Import
Section titled “Import”import { AxBreadcrumbComponent, AxBreadcrumbItemComponent } from '@axisui-ng/navigation';<ax-breadcrumb> <ax-breadcrumb-item><a routerLink="/">Home</a></ax-breadcrumb-item> <ax-breadcrumb-item><a routerLink="/docs">Docs</a></ax-breadcrumb-item> <ax-breadcrumb-item [current]="true">Breadcrumb</ax-breadcrumb-item></ax-breadcrumb>ax-breadcrumb inputs
Section titled “ax-breadcrumb inputs”| Input | Type | Default | Notes |
|---|---|---|---|
separator | AxIconName | 'chevron-right' | Retained for theming; v1 items always render chevron-right. |
ax-breadcrumb-item inputs
Section titled “ax-breadcrumb-item inputs”| Input | Type | Default | Notes |
|---|---|---|---|
current | boolean | false | Marks the current page (aria-current="page"); typically the last item as plain text. |
Accessibility
Section titled “Accessibility”Host is role="navigation" with aria-label="Breadcrumb". Items sit in a role="list" / role="listitem"
structure. The current item sets aria-current="page". Separators are decorative (aria-hidden).
Storybook
Section titled “Storybook”Interactive examples live in Storybook under Navigation / Breadcrumb. Run pnpm storybook to explore them.