Metrics
Metric card
One number, a delta, an optional spark. Wired through useQuery.
Props
| Property | Type | Default | Description |
|---|---|---|---|
metric | MetricId | — | Canonical metric queried through the provider. |
title | string | — | Header label. Defaults to the metric catalog name. |
variant | "default" | "spark" | "compact" | "hero" | "bleed" | "histogram" | "default" | Size and whether a sparkline trails the number. |
range | DateRangeInput | — | Overrides the provider range for this card only. |
span | number | — | Dashboard grid column span. |