Component docs
Loading
import { StatusIndicator } from "@pixxl-tools/components";
// In Server Components:
import { StatusIndicator } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
tone | Tone | — | Colour role (neutral, primary, danger, success, warning, info). |
label | ReactNode | — | Visible label (also the accessible name). |
pulse | boolean | — | — |
toneTone
Colour role (neutral, primary, danger, success, warning, info).
labelReactNode
Visible label (also the accessible name).
pulseboolean
Other props are passed to the root element (HTMLAttributes<HTMLSpanElement>), including className, style, id and aria-* attributes.
<StatusIndicator tone="success" />