Skip to content
Zuno UI
Explore components
EXPLORE
Actions
Forms
Layout
Navigation
Data display
Feedback
Overlays
RESOURCES
Components/StatusBadge

StatusBadge

Semantic status with text, an optional indicator and a consistent visual variant.

Active

Installation

Run it from the root of a project already set up with zunoui init.

npx zunoui@latest add status-badge

Dependencies

What add status-badge installs alongside the component. The CLI skips any you already have in a compatible version.

ZUNO registry

Examples

1 examples · 1 component
status-badge
ActivePendingFailedIn reviewDraft

Semantic statuses

A soft surface and an indicator dot per status.

API reference

Forwards props and ref to the container element; it only adds composition utilities.

PropTypeDefault
status

Semantic intent of the status.

"neutral" | "success" | "warning" | "info" | "error""neutral"
indicator

Shows a colored dot before the text.

booleantrue

States

The states that apply to this component and their visual treatment.

StateTreatment
Statusneutral, success, warning, info and error with a soft surface.
With indicatorindicator adds a colored dot before the text.
Without indicatorindicator={false} leaves only text and surface.

Accessibility

The text communicates the status; the color and dot only reinforce it.

Composed on top of Badge: it inherits its contrast and compact typography.