ComponentsDraftWCAG 2.1/2.2 AAZero Gradients
@hahlex/millar-uiStat
Operational KPI tile using full-box color mixing, tinted IconBox, --text-kpi (24px tabular-nums), and optional solid progress bar.
Interactive Playground
Live component specimen driven directly by Millar tokens in Light and Dark mode.
WCAG AA Contrast97 / 970 regressions
Token Parity92%CSS · TW4 · AntD · MCP
Props API
Usage Guidelines & Agent Guardrails
When to use
- Operational dashboard KPI rows and report summaries.
Stacks cleanly in 1/2/4-column CSS grids across mobile, tablet, and desktop.
Anti-Hallucination Guardrails (AI & Human)
- Never color only a bare digit without container framing.
- Never use CSS gradients on the progress bar.
Accessibility & Keyboard Contract
Progress bar exposes role='progressbar', aria-valuenow, aria-valuemin, aria-valuemax, aria-label.
Non-interactive display element; semantic contrast and non-color status cues apply.