StatusText
Metrics & Status

StatusText

Status label with a leading dot, for run states, health, and lifecycle information in tables, toolbars, and detail panels.

Props

StatusText renders a <span> containing an automatic dot and text.

StatusTextProps props
PropTypeDefaultDescription
toneStatusTone—"ok" | "warn" | "err" | "idle" | "prov" | "dim".
childrenReactNode—The label text.
classNamestring—Forwarded to the span.
styleCSSProperties—Forwarded to the span.

Examples

All tones

StatusText tones
ImportTSX
import { StatusText } from "@solarius/onset";
import type { StatusTextProps, StatusTone } from "@solarius/onset";