material angular chips code example
Example: angular material chips
import { MatChipsModule } from '@angular/material/chips';
@NgModule({
imports: [
...
MatChipsModule
...
]
})
...
<mat-chip-list aria-label="Fish selection">
<mat-chip>One fish</mat-chip>
<mat-chip>Two fish</mat-chip>
<mat-chip color="primary" selected>Primary fish</mat-chip>
<mat-chip color="accent" selected>Accent fish</mat-chip>
</mat-chip-list>