Skip to Content
BlocksMetrics

Stat Group

A row of related metrics in one card, each with its change vs the previous period.

Plain Row

Metrics side by side, each with its change written as a sentence.

npx shadcn add @dashboardblocks/stat-group-01
Revenue
$48,210
Up 12.4% vs last month
Orders
1,284
Up 6.1% vs last month
Refund rate
1.8%
Down 0.3 pts vs last month

With Sparklines

Each metric with a 14-day sparkline, under a sentence saying how many improved.

npx shadcn add @dashboardblocks/stat-group-02

Store performance

All 4 metrics improved on the 14 days before.

Visitors
24,318
Up 12.4% vs the 14 days before
Conversion rate
3.4%
Up 0.3 pts vs the 14 days before
Avg order value
$37.55
Up 5.9% vs the 14 days before
Bounce rate
41%
Down 3 pts vs the 14 days before

Metric Tabs

Metrics as tabs, with the selected one charted by day over the previous period.

npx shadcn add @dashboardblocks/stat-group-03

Sales

Sep 1 – 30 against Aug 2 – 31. Pick a metric to chart it by day.

  • Sep 1 – 30
  • Aug 2 – 31
Revenue by day, Sep 1 – 30 vs Aug 2 – 31
DaySep 1 – 30Aug 2 – 31
Sep 1$1,420$1,441
Sep 2$1,502$1,469
Sep 3$1,570$1,477
Sep 4$1,613$1,465
Sep 5$1,623$1,435
Sep 6$1,362$1,183
Sep 7$1,323$1,141
Sep 8$1,498$1,292
Sep 9$1,440$1,249
Sep 10$1,398$1,220
Sep 11$1,382$1,208
Sep 12$1,399$1,216
Sep 13$1,229$1,057
Sep 14$1,290$1,095
Sep 15$1,601$1,346
Sep 16$1,682$1,408
Sep 17$1,746$1,469
Sep 18$1,783$1,522
Sep 19$1,787$1,560
Sep 20$1,497$1,343
Sep 21$1,456$1,343
Sep 22$1,653$1,560
Sep 23$1,597$1,524
Sep 24$1,559$1,478
Sep 25$1,549$1,427
Sep 26$1,571$1,379
Sep 27$1,380$1,140
Sep 28$1,443$1,121
Sep 29$1,782$1,314
Sep 30$1,860$1,331

Compact Strip

Five metrics in a slim row.

npx shadcn add @dashboardblocks/stat-group-04
MRR
$84.2K
Up 4.2% vs the previous period
Customers
1,241
Up 4.6% vs the previous period
ARPU
$67.85
Down 0.4% vs the previous period
Churn
2.1%
Down 0.3 pts vs the previous period
NPS
48
Up 4 pts vs the previous period

Period Bars

Four metrics, each with a bar for this period over a bar for the one before.

npx shadcn add @dashboardblocks/stat-group-05

Overview

The last 30 days against the 30 before. Revenue grew while trial conversion slipped.

Revenue
$48,210
Up 12.4% vs the 30 days before
New customers
342
Up 7.5% vs the 30 days before
Trial conversion
18.6%
Down 1.2 pts vs the 30 days before
First response time
4.2 h
Down 25% vs the 30 days before

On this page