--- title: "Status" description: "Render operational state with data-status — online, degraded, offline, unknown." section: vault prev-url: "wikilinks/" prev-title: "Wikilinks" next-url: "diff/" next-title: "Diff" type: vault date: 2026-04-09 tags: ["vault", "status", "reference"] ai-disclosure: "generated" ai-model: "claude-sonnet-4-5" ai-provider: "Anthropic" --- ## Overview Use `data-status` on any element to convey operational state. ASW renders a coloured indicator — no CSS classes required. ```html API Gateway Search Index Legacy Auth Webhook Relay ``` ## Values | Value | Meaning | Indicator | |-------|---------|-----------| | `online` | Fully operational | Green dot | | `degraded` | Reduced capacity or elevated errors | Amber dot | | `offline` | Not reachable or deliberately down | Red dot | | `unknown` | State not yet determined | Grey dot | ## Status Dashboard Pattern Combine with a `
` for a compact service health panel: ```html
API Gateway
online
Search Index
degraded
Webhook Relay
offline
Analytics
unknown
``` ## Usage Notes `data-status` is intentionally display-only — it carries no ARIA role. For accessibility, pair with visible text (as shown above) rather than relying on the colour dot alone.