About
A responsive metric strip with dotted sparklines, semantic deltas, and registration-mark corners.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Commerce KPI Row to your project and fits it to your theme.
Code
How Commerce KPI Row is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { BadgeDollarSign, ShoppingCart } from "lucide-react"
import { CommerceKpiRow } from "@/components/ui/dashboardcn-commerce-kpi-row"
export default function CommerceKpiRowDemo() {
return (
<CommerceKpiRow
className="w-full"
metrics={[
{ label: "Total revenue", value: 284920, format: "currency", delta: 0.082, deltaLabel: "vs prior 30 days", trend: [2, 4, 6, 9, 8, 11, 7], icon: <BadgeDollarSign /> },
{ label: "Orders", value: 1842, delta: 0.041, deltaLabel: "vs prior 30 days", trend: [3, 7, 5, 10, 6, 11, 9], icon: <ShoppingCart /> },
]}
/>
)
}
















