Badge
Display

Badge.

Compact semantic labels for state and metadata.

Real interactive component
Live demo
DefaultFeaturedConnectedPending

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

3 props
ParameterTypeRequiredDefaultPossible valuesDescription
childrenReactNodeNo——Badge text or other inline content.
variant"neutral" | "accent" | "success" | "warning"Noneutralneutral · accent · success · warningColor treatment.
classNamestringNo——Custom CSS class.