Angular component that mimic mat-chip aspect without requiring mat-chiplist
It's based on angular material styles and it just adds a bounch of already existent classes in order to have the chip aspect
without requiring you to add lot of boilerplate code to have a simple chip (like manually having to include a mat-chip-list or a selected to have colors.
It's not meant to be used as a replacement for chip because it has no events and it's not clickable. It's meant to be an implementation closer to bootstrap badges
<chip color="primary">My Primary Chip</chip>
<chip color="accent">My Accent Chip</chip>
<chip color="warn">My Warn Chip</chip>
P.S.
- remember to add the component into the
declarationssection of the module that need to use the component... - actually to have a proper render, you need anyway to include a somewhere on your page, I add it automatically injecting one if the page doesn't have the "fix" (display=none so doesn't impact layout)