DDBS UI
card

Stat Card

A labelled headline statistic, with brand tones and a compact one-row variant. Harvested from the Cumulus demo.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/stat-card.json
Fullscreen
Data Points
520k+

Analyzed monthly to power smarter business strategies.

Uptime
99.9%

Measured across every region, every month.

Continents20+
Teams120+

Usage

stat-card-example.tsx
import { StatCard } from "@dbs/ui";

export default function StatCardExample() {
  return (
    <div className="grid w-full max-w-2xl gap-4 sm:grid-cols-2">
      <StatCard
        tone="gold"
        label="Data Points"
        value="520k+"
        description="Analyzed monthly to power smarter business strategies."
      />
      <StatCard
        tone="surface"
        label="Uptime"
        value="99.9%"
        description="Measured across every region, every month."
      />
      <StatCard tone="dark" label="Continents" value="20+" compact />
      <StatCard tone="indigo" label="Teams" value="120+" compact />
    </div>
  );
}