Badge
Compact label for status, counts, and categories. A plain styled <span> —
no base-ui dependency.
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "solid" | "soft" | "success" | "warning" | "error" | "info" | default |
Visual style and semantic colour. | ||
| dot | boolean | false |
Show a small coloured dot indicator before the label. | ||
CSS Class Names
Available as keys on the BadgeStyles object. Each key maps to a hashed CSS module class name at runtime.
dotrootvariant-defaultvariant-errorvariant-infovariant-softvariant-solidvariant-successvariant-warning