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 badge
props
nametypedefaultdescription
variant'outline' | 'solid' | 'ghost''outline'
onClick() => void-renders as a toggle button.
activebooleanfalsetoggle state; swaps to the solid look.