Skip to content
Metrics

Metric card

One number, a delta, an optional spark. Wired through useQuery.

Visitors

4,194
-12%

Props

PropertyTypeDefaultDescription
metricMetricId—Canonical metric queried through the provider.
titlestring—Header label. Defaults to the metric catalog name.
variant"default" | "spark" | "compact" | "hero" | "bleed" | "histogram""default"Size and whether a sparkline trails the number.
rangeDateRangeInput—Overrides the provider range for this card only.
spannumber—Dashboard grid column span.