Badge
A small label for counts, statuses, and step markers.
The shadcn base-vega badge, plus three tinted variants on immit's semantic
tokens: soft, muted, and success. Larger labels (the marketing
"STEP 01" pill) override the registry size per use with className.
Variants
DefaultSecondaryDestructiveOutlineGhostLinkSoftMutedSuccess
import { Badge } from '@immit/ui/badge'
export function BadgeVariants() {
return (
<div className="flex flex-wrap items-center gap-2">
<Badge>Default</Badge>
<Badge variant="secondary">Secondary</Badge>
<Badge variant="destructive">Destructive</Badge>
<Badge variant="outline">Outline</Badge>
<Badge variant="ghost">Ghost</Badge>
<Badge variant="link">Link</Badge>
<Badge variant="soft">Soft</Badge>
<Badge variant="muted">Muted</Badge>
<Badge variant="success">Success</Badge>
</div>
)
}