Badges are read-only indicators used to communicate a category, metadata, a numeric quantity, or a process's current state.
Gets the color of the badge (the underlying hue). Semantic color values report as their underlying hue (e.g. `color="critical"` reports `red`, `color="accent"` reports `teal`, `color="feature"` reports `violet`).
Gets whether the badge shows a status indicator dot
Gets the semantic meaning of the badge color, or `null` when the color has no semantic meaning. Semantic values and their underlying hues report identically: `color="critical"` and `color="red"` both return `critical`; `color="accent"` and `color="teal"` both return `accent`; `color="feature"` and `color="violet"` both return `feature`.
Gets the text content of the badge
Gets the variant of the badge (`solid`, `subtle`, or `outline`), or `null` when no variant class is present on the element.
Whether the badge text matches the expected text