UptimeBar
Chart
The statuspage strip: per-period status pills (operational, degraded, down, unknown) with a summary caption and edge labels.
Playground
Every control sets a real prop of UptimeBarProps. The JSX below updates as you go.
Web
iOS
Android
JSX · UptimeBarProps
Variants
2 examples from src/charts/uptime-bar/uptime-bar.md, each rendered live from its own JSX.
Anatomy
1
Strip
2
Degraded period
3
Healthy period
4
Range labels
Dimmed parts appear only in some states or variants.
Props
10 props on UptimeBarProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Tab
Focuses the plot
ArrowLeft
ArrowRight
Steps through points when inspectable
Escape
Clears the inspected point
Semantics
Roles
image
img
ARIA on web
aria-label
From the docs
The pills run in a single row, oldest on the left, colored operational green, degraded amber, down red, or unknown muted (precedence down > degraded > unknown; an unmarked period is operational). An optional caption summarizes the strip above it, and startLabel/endLabel caption the physical edges below. The strip is a time axis, so it keeps left-to-right ordering in every locale, and its accessible name tallies every status.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
The pills run in a single row, oldest on the left, colored operational green, degraded amber, down red, or unknown muted (precedence down > degraded > unknown; an unmarked period is operational). An optional caption summarizes the strip above it, and startLabel/endLabel caption the physical edges below. The strip is a time axis, so it keeps left-to-right ordering in every locale, and its accessible name tallies every status.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--bad
--fd
--fm
--ft
--ok
--tx3
--warn