StatusLamp API
StatusLamp is a compact Foundry signal component for runtime health, CMS publishing, queues, and dashboard rows.
Preview components
Open the component docs to see examples, combinations, and usage patterns built on top of this API.
- StatusLampSignal states, pulse usage, and dashboard examples.
Preview
OnlineDegradedOfflineIdle
Import
import { StatusLamp } from "@axonyx/react";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tone | "neutral" | "online" | "warning" | "danger" | "idle" | "neutral" | Controls the signal color and border. |
| label | ReactNode | required | Primary readable status label. |
| description | ReactNode | undefined | Optional secondary status detail. |
| pulse | boolean | false | Adds a pulsing signal ring for live status. |
CSS contract
.ax-status-lamp .ax-status-lamp__light .ax-status-lamp__label .ax-status-lamp__description [data-tone] [data-pulse]
Foundry notes
Prefer signal over text-only state
StatusLamp is useful when the interface needs a machine-readable feeling: online/offline, warm queues, deploy state, or runtime health.