On this page
Angular Breadcrumb Component
Angular Breadcrumb navigation component indicates the current location within a navigational hierarchy that automatically adds separators.
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
```scss $breadcrumb-divider: quote(">"); ```
Loading...
Loading...
Loading...
```scss $breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E"); ```
Loading...
Loading...
Loading...
```scss $breadcrumb-divider: none; ```
```typescript
import { BreadcrumbModule } from '@coreui/angular';
@NgModule({
imports: [BreadcrumbModule,]
})
export class AppModule(){}
```
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `ariaLabel` | Default aria-label for breadcrumb. **`default`** 'breadcrumb' | `string` | `'breadcrumb'` |
| `role` | Default role for breadcrumb. **`default`** 'navigation' | `string` | `'navigation'` |
---
### c-breadcrumb-item
_component_
#### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `active` | Toggle the active state for the component. | `boolean` | |
| `attributes` | Additional html attributes for link. | [`INavAttributes`](../interfaces/coreui_types.INavAttributes.md) | |
| `linkProps` | Some `NavigationExtras` props for the inner `[routerLink]` directive and `routerLinkActiveOptions`. | [`INavLinkProps`](../interfaces/coreui_types.INavLinkProps.md) | |
| `url` | The `url` prop for the inner `[routerLink]` directive. | `string` \| `any`[] | |
---
### c-breadcrumb-router
_component_
#### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `items` | Optional array of IBreadcrumbItem to override default BreadcrumbRouter behavior. | [`IBreadcrumbItem`](../interfaces/breadcrumb_breadcrumb_item_breadcrumb_item.IBreadcrumbItem.md)[] | |
---
### BreadcrumbRouter Service
You can override `BreadcrumbRouterService` in a module providers section.
```typescript @NgModule({ ... providers: [ { provide: BreadcrumbRouterService, useClass: yourBreadcrumbRouterService } ] ```