Back to blocks
BlockDashboard / ApplicationFree

KPI Dashboard Grid React component

A dashboard overview grid: a large featured chart and KPI cards with counting numbers, change against the previous period (inverse for metrics like churn), hoverable sparklines or goal bars, a period switch, a compare toggle with dashed previous lines, and a Customize menu to show or hide metrics.

About the KPI Dashboard Grid component

KPI Dashboard Grid is the first screen of an analytics or admin dashboard. One featured metric gets a large chart, and the others sit around it as compact cards, each with its number, how much it changed since the previous period and either a small trend line or progress towards a goal.

Switch between 7 days, 30 days, 90 days and 12 months and every number counts to its new value while the charts reshape. Turn on Compare to draw the previous period as a dashed line, hover any chart for exact values, and use Customize to hide the metrics you do not care about.

When to use it

Use it at the top of a SaaS, e-commerce or marketing dashboard, an internal reporting page or a client portal.

Pick one metric that matters most as the featured chart and keep the grid to six metrics or fewer.

Installation

Add the KPI Dashboard Grid component to your project with the shadcn CLI. It lands in components/kpi-dashboard-grid.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/kpi-dashboard-grid

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

Related components

Activity Feed
Free
Recent Orders Table Block
Free
Billing Summary Card
Free
Audit Log Table Block
Free
File Manager Block
Free
Invoice List Block
Free