Badge

A small status label in the standard variant and color-scheme families.

ActivePendingFailedBetaDefault

Import#

import { Badge } from "astralis-ui";

Variants and sizes#

variants
solidsubtlesurfaceoutline
sizes
xssmmdlg

Badges are static labels — for removable or selectable chips use Tag, and for counts anchored to a corner combine a Badge with Float.

Props#

PropTypeDefaultDescription
variant"solid" | "subtle" | "surface" | "outline""subtle"Visual style.
colorSchemeall 11 schemes"gray"Hue.
size"xs" | "sm" | "md" | "lg""sm"Text and padding scale.