Blocks (16)
Metrics Dashboard
Composed multi-component product block built on Base UI and Tailwind CSS v4.
Loading Metrics Dashboard…
Usage
import { MetricsDashboard } from "ui-kit/blocks/metrics-dashboard";Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "Sales" | — |
site | string | "Northwind Store" | — |
defaultRange | RangeKey | "30d" | — |
defaultMetric | MetricKey | "revenue" | — |
onExport | (range: RangeKey, metric: MetricKey) => void | — | — |
data | MetricsDay[] | — | — |
products | MetricsShare[] | PRODUCTS | — |
channels | MetricsShare[] | CHANNELS | — |
currency | string | "USD" | — |
className | string | — | — |