Angular Breadcrumbs Component | ng-hub-ui-breadcrumbs

Angular breadcrumbs component with router integration, custom templates, RTL support and flexible styling tokens.

API reference

Here's the full contract for breadcrumbs: everything you can bind, listen to, project and theme, gathered in one place. Wire up what you need and style what you want — it's standalone and signal-friendly.

Inputs

Dial breadcrumbs in with 3 inputs. Bind them like any Angular @Input.

NameTypeDefaultDescription
breadcrumbs$Observable<BreadcrumbItem[]>Observable stream of breadcrumb items automatically generated from route data.
variantstringSemantic accent for the breadcrumb links (e.g. primary, success) or any custom token name.
truncateItemsbooleanfalseWhen true, clips each label to --hub-breadcrumb-max-item-width with an ellipsis and shows a tooltip on overflow.

Outputs

No outputs documented yet.

Templates

Make it yours — 1 template slots let you project custom markup.

NameDescriptionExample
hubBreadcrumbItemCustom template for rendering individual breadcrumb items<ng-template hubBreadcrumbItem let-item let-isLast="isLast"> @if (!isLast) { <a [routerLink]="item.url" class="breadcrumb-link">{{ item.label }}</a> } @else { <span class="breadcrumb-current">{{ item.label }}</span> } </ng-template>