## Usage
## Within a standalone component
To use breadcrumb in a standalone component, import it directly into your custom component:
```ts
@Component({
selector: 'custom-component',
templateUrl: './custom-component.component.html',
standalone: true,
imports: [
DAFF_BREADCRUMB_COMPONENTS,
],
})
export class CustomComponent {}
```
## Within a module (deprecated)
To use breadcrumb in a module, import `DaffBreadcrumbModule` into your custom module:
```ts
import { NgModule } from '@angular/core';
import { DaffBreadcrumbModule } from './breadcrumb/breadcrumb.component';
@NgModule({
declarations: [
CustomComponent,
],
exports: [
CustomComponent,
],
imports: [
DaffBreadcrumbModule,
],
})
export class CustomComponentModule { }
```
> This method is deprecated. It's recommended to update all custom components to standalone.
## Your Use Case
## Prior Work
## Environment
Daffodil version: X.Y.Z
Angular version: X.Y.Z
For Tooling issues:
- Node version: XX
- Platform:
Others:
:bulb: Feature request
Feature Name
Update all
@daffodil/design
components as standaloneThe Desired Behavior
All
@daffodil/design
components should be standalone.Documentation template:
## Your Use Case ## Prior Work ## Environment