Badge
Small status pill for counts and indicators
Badge
Compact count or status indicator.
Basic Usage
Badge Variants
Counts, labels, and dot indicators.
Demo will load when visible.
Contract
TxBadge renders an inline pill or dot. The default slot replaces the badge content; it does not position the badge around a target element. Dot mode hides value text and renders only the visual dot.
API (Lite)
| Property | Type | Default | Description |
|---|---|---|---|
| variant | defaultprimarysuccesswarningerror | Color preset | |
| value | Badge content | ||
| dot | Dot mode | ||
| color | - | Custom color |