Search documentation

Search for a page or component.

Commerce KPI Row

A responsive metric strip with dotted sparklines, semantic deltas, and registration-mark corners.

Total revenue
$285K
8.2%vs prior 30 days
Orders
1,842
4.1%vs prior 30 days
import { BadgeDollarSign, ShoppingCart } from "lucide-react"

import { CommerceKpiRow } from "@/registry/dashboardcn/blocks/commerce-kpi-row"

Installation

pnpm dlx shadcn@latest add @dashboardcn/commerce-kpi-row

Also installs tooltip from shadcn/ui if missing.

Usage

import { CommerceKpiRow } from "@/components/commerce-kpi-row"

<CommerceKpiRow
  metrics={[
    { label: "Revenue", value: 284920, format: "currency", delta: 0.082, trend: [2, 4, 6, 9, 8] },
    { label: "Orders", value: 1842, delta: 0.041, trend: [3, 7, 5, 10, 9] },
  ]}
/>