Skip to Content
UI Kit
Blocks (16)

Metrics Dashboard

Composed multi-component product block built on Base UI and Tailwind CSS v4.

Open preview
Loading Metrics Dashboard…

Usage

import { MetricsDashboard } from "ui-kit/blocks/metrics-dashboard";

Props

PropTypeDefaultDescription
titlestring"Sales"—
sitestring"Northwind Store"—
defaultRangeRangeKey"30d"—
defaultMetricMetricKey"revenue"—
onExport(range: RangeKey, metric: MetricKey) => void——
dataMetricsDay[]——
productsMetricsShare[]PRODUCTS—
channelsMetricsShare[]CHANNELS—
currencystring"USD"—
classNamestring——

On this page