DDBS UI
section

Overlapping Glass Stats

A row of frosted-glass metric cards that overlap on larger screens, one a dark gradient, each with a value, a line of text and a plus action. Harvested from Mosaiq.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/overlapping-glass-stats.json
Dependencies:lucide-react
Fullscreen

Usage

overlapping-glass-stats-example.tsx
import { OverlappingGlassStats } from "@dbs/ui";

export default function OverlappingGlassStatsExample() {
  return (
    <OverlappingGlassStats
      stats={[
        {
          value: "9/10",
          text: "employees open their benefits app every single week.",
          tone: "light",
        },
        {
          value: "62%",
          text: "lift in the perceived value of employee benefits.",
          tone: "dark",
        },
        {
          value: "27%",
          text: "savings from centralizing every benefit on one card.",
          tone: "light",
        },
      ]}
    />
  );
}