{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stat-cards-05",
  "type": "registry:component",
  "title": "Stats Cards",
  "author": "Toby Belhome",
  "description": "Display key metrics and performance indicators with Tailwind CSS stats cards. These layouts use clean typography, icons, and visual cues to make data easily digestible. Perfect for SaaS platforms, admin panels, and analytics dashboards seeking a modern, organized, and visually appealing way to showcase statistics.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "card"
  ],
  "files": [
    {
      "path": "examples/blocks/dashboard-ui/stat-cards/05/page.tsx",
      "content": "\"use client\";\n\nimport { Card, CardContent } from \"@/components/ui/card\";\nimport { cn } from \"@/lib/utils\";\nimport { AlertTriangle, Check, ChevronRight, Eye } from \"lucide-react\";\nimport Link from \"next/link\";\n\nconst data = [\n  {\n    name: \"Europe\",\n    stat: \"$10,023\",\n    goalsAchieved: 3,\n    status: \"observe\",\n    href: \"#\"\n  },\n  {\n    name: \"North America\",\n    stat: \"$14,092\",\n    goalsAchieved: 5,\n    status: \"within\",\n    href: \"#\"\n  },\n  {\n    name: \"Asia\",\n    stat: \"$113,232\",\n    goalsAchieved: 1,\n    status: \"critical\",\n    href: \"#\"\n  }\n];\n\nexport default function Stats06() {\n  return (\n    <div className=\"flex w-full items-center justify-center p-10\">\n      <dl className=\"grid w-full grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3\">\n        {data.map((item) => (\n          <Card key={item.name} className=\"relative p-6\">\n            <CardContent className=\"p-0\">\n              <dt className=\"text-muted-foreground text-sm font-medium\">{item.name}</dt>\n              <dd className=\"text-foreground text-3xl font-semibold\">{item.stat}</dd>\n              <div className=\"group bg-muted/60 hover:bg-muted relative mt-6 flex items-center space-x-4 rounded-md p-2\">\n                <div className=\"flex w-full items-center justify-between truncate\">\n                  <div className=\"flex items-center space-x-3\">\n                    <span\n                      className={cn(\n                        \"flex h-9 w-9 shrink-0 items-center justify-center rounded\",\n                        item.status === \"within\"\n                          ? \"bg-emerald-500 text-white\"\n                          : item.status === \"observe\"\n                            ? \"bg-yellow-500 text-white\"\n                            : \"bg-red-500 text-white\"\n                      )}>\n                      {item.status === \"within\" ? (\n                        <Check className=\"size-4 shrink-0\" aria-hidden={true} />\n                      ) : item.status === \"observe\" ? (\n                        <Eye className=\"size-4 shrink-0\" aria-hidden={true} />\n                      ) : (\n                        <AlertTriangle className=\"size-4 shrink-0\" aria-hidden={true} />\n                      )}\n                    </span>\n                    <dd>\n                      <p className=\"text-muted-foreground text-sm\">\n                        <Link href={item.href} className=\"focus:outline-none\">\n                          {/* Extend link to entire card */}\n                          <span className=\"absolute inset-0\" aria-hidden={true} />\n                          {item.goalsAchieved}/5 goals\n                        </Link>\n                      </p>\n                      <p\n                        className={cn(\n                          \"text-sm font-medium\",\n                          item.status === \"within\"\n                            ? \"text-emerald-800 dark:text-emerald-500\"\n                            : item.status === \"observe\"\n                              ? \"text-yellow-800 dark:text-yellow-500\"\n                              : \"text-red-800 dark:text-red-500\"\n                        )}>\n                        {item.status}\n                      </p>\n                    </dd>\n                  </div>\n                  <ChevronRight\n                    className=\"text-muted-foreground/60 group-hover:text-muted-foreground size-5 shrink-0\"\n                    aria-hidden={true}\n                  />\n                </div>\n              </div>\n            </CardContent>\n          </Card>\n        ))}\n      </dl>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/stat-cards-05.tsx"
    }
  ],
  "meta": {
    "isPro": true
  }
}