components / badge
badge.
small chip. static label by default; pass onClick to make it a toggle/filter chip, with active swapping to the solid look.
outlinesolidghost
installation
bunx @justin06lee/chrome@latest add badgeprops
| name | type | default | description |
|---|---|---|---|
| variant | 'outline' | 'solid' | 'ghost' | 'outline' | |
| onClick | () => void | - | renders as a toggle button. |
| active | boolean | false | toggle state; swaps to the solid look. |