Stat
Stat (a.k.a. metric card) is the KPI tile for dashboards: a label, a large value, an optional trend delta, an optional hint, and an optional footer (`children`) for a `Sparkline` or a link.
Usage
Import
import { Stat } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/stat.
Variant props
| Prop | Values |
|---|---|
size | sm · default · lg |
States
loading · busy
Support
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Supported |
| Density | Not supported |
| Server rendering | Renders on the server |
| Reduced motion | Not applicable |
Accessibility
No ARIA widget pattern. Not yet audited.
Tests
Covered by unit, accessibility (axe) and visual tests.