Skip to content
TrademarkTrademark
Docs
Components

StatusIndicator

Updated: May 9, 2025
View on GitHub

Use StatusIndicator to show online/offline presence, availability, or categorical tags through color-coded dots.

Sizes

Choose from small, medium, or large to fit the surrounding layout.

Color variants

Supports full Once UI palette for flexibility.

Theme roles

A role (brand, accent, neutral, info, danger, warning, success) takes the colour the theme assigns it, so danger follows the app's danger scheme. A palette name stays that fixed colour; rose, mint, dusk, sand and slate are there as well.

API reference

Type
Default
size
Dot size.
lms
m
color
Which state it shows: a palette name, or a theme role such as danger or brand.
StatusIndicatorColorblue
ariaLabel
What assistive tech announces. Set it to the meaning, not the colour.
string`${color} status indicator`
className
string—
style
React.CSSProperties—
…and every FlexProps propinherited—
Edit this page on GitHub