{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature126",
  "title": "Impact Stats with Large Numbers",
  "description": "Responsive grid of large stat numbers with labels and descriptions. Perfect for impact metrics, company statistics, or scale indicators.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/feature126/feature126.tsx",
      "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface StatItem {\n  number: string;\n  label: string;\n  description?: string;\n}\n\ninterface ButtonItem {\n  label: string;\n  href?: string;\n  variant?:\n    | \"default\"\n    | \"secondary\"\n    | \"outline\"\n    | \"ghost\"\n    | \"link\"\n    | \"destructive\";\n}\n\ninterface Feature126Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  stats?: StatItem[];\n  buttons?: ButtonItem[];\n  className?: string;\n}\n\nexport const feature126Demo: Feature126Props = {\n  badge: { label: \"Impact\", variant: \"default\" },\n  heading: \"Numbers that speak\",\n  description: \"Our impact by the numbers.\",\n  stats: [\n    {\n      number: \"500+\",\n      label: \"Customers\",\n      description: \"Trusted by companies worldwide\",\n    },\n    {\n      number: \"99.9%\",\n      label: \"Uptime\",\n      description: \"Enterprise-grade reliability\",\n    },\n    {\n      number: \"50M+\",\n      label: \"Requests/day\",\n      description: \"Processed daily at scale\",\n    },\n    {\n      number: \"<10ms\",\n      label: \"Latency\",\n      description: \"Lightning-fast responses\",\n    },\n  ],\n  buttons: [],\n};\n\nexport function Feature126({\n  badge,\n  heading,\n  description,\n  stats = [],\n  buttons = [],\n  className,\n}: Feature126Props) {\n  if (stats.length === 0) return null;\n\n  const count = stats.length;\n  const gridCols =\n    count === 1\n      ? \"\"\n      : count === 2\n      ? \"sm:grid-cols-2\"\n      : count % 3 === 0\n      ? \"grid-cols-1 md:grid-cols-3\"\n      : count % 4 === 0\n      ? \"sm:grid-cols-2 lg:grid-cols-4\"\n      : \"sm:grid-cols-2 lg:grid-cols-3\";\n\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-6xl px-4 md:px-6\">\n        {(badge || heading || description) && (\n          <div className=\"mx-auto mb-12 max-w-3xl text-center\">\n            {badge && (\n              <div className=\"mb-4 flex justify-center\">\n                <Badge variant={badge.variant ?? \"default\"}>\n                  {badge.label}\n                </Badge>\n              </div>\n            )}\n            {heading && (\n              <h2 className=\"text-3xl font-semibold md:text-5xl\">{heading}</h2>\n            )}\n            {description && (\n              <p className=\"mt-4 text-base md:text-lg text-muted-foreground\">\n                {description}\n              </p>\n            )}\n          </div>\n        )}\n\n        <div className={cn(\"grid gap-4\", gridCols)}>\n          {stats.map((stat, index) => (\n            <div\n              key={index}\n              className=\"rounded-xl border bg-card p-6 text-center\"\n            >\n              <p className=\"text-4xl font-bold text-primary\">{stat.number}</p>\n              <p className=\"mt-2 font-medium\">{stat.label}</p>\n              {stat.description && (\n                <p className=\"mt-1 text-sm text-muted-foreground\">\n                  {stat.description}\n                </p>\n              )}\n            </div>\n          ))}\n        </div>\n\n        {buttons.length > 0 && (\n          <div className=\"mt-12 flex flex-wrap justify-center gap-3\">\n            {buttons.map((button, index) => (\n              <Button key={index} variant={button.variant ?? \"default\"} asChild>\n                <Link href={button.href ?? \"#\"}>{button.label}</Link>\n              </Button>\n            ))}\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/feature126.tsx"
    }
  ],
  "type": "registry:block"
}