{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature29",
  "title": "Platform Feature Cards with Metrics",
  "description": "Six-card grid featuring icons, descriptions, and highlighted stats (latency, uptime, user counts) with animated hover effects. Perfect for showcasing SaaS capabilities or enterprise platform features.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/feature29/feature29.tsx",
      "content": "\"use client\";\n\nimport {\n  BarChart3,\n  Clock,\n  Globe,\n  Lock,\n  MessageSquare,\n  Sparkles,\n} from \"lucide-react\";\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 FeatureCard {\n  id: string;\n  icon?: React.ReactNode;\n  title: string;\n  description: string;\n  stat?: {\n    value: string;\n    label: string;\n  };\n}\n\ninterface ButtonItem {\n  id: string;\n  label: string;\n  href?: string;\n  variant?:\n    | \"default\"\n    | \"secondary\"\n    | \"outline\"\n    | \"ghost\"\n    | \"link\"\n    | \"destructive\";\n}\n\ninterface Feature29Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  features?: FeatureCard[];\n  buttons?: ButtonItem[];\n  className?: string;\n}\n\nexport const feature29Demo: Feature29Props = {\n  badge: { label: \"Platform\", variant: \"secondary\" },\n  heading: \"Everything you need to scale\",\n  description:\n    \"A complete toolkit designed to grow with your business, from startup to enterprise.\",\n  features: [\n    {\n      id: \"feature-1\",\n      icon: <Sparkles className=\"size-6\" />,\n      title: \"AI-Powered Insights\",\n      description:\n        \"Get actionable recommendations based on your data patterns and industry benchmarks.\",\n      stat: {\n        value: \"3x\",\n        label: \"faster decisions\",\n      },\n    },\n    {\n      id: \"feature-2\",\n      icon: <Globe className=\"size-6\" />,\n      title: \"Global CDN\",\n      description:\n        \"Content delivered from 200+ edge locations for blazing-fast load times worldwide.\",\n      stat: {\n        value: \"<50ms\",\n        label: \"avg. latency\",\n      },\n    },\n    {\n      id: \"feature-3\",\n      icon: <Lock className=\"size-6\" />,\n      title: \"Enterprise Security\",\n      description:\n        \"SOC 2 Type II certified with end-to-end encryption and granular access controls.\",\n      stat: {\n        value: \"99.99%\",\n        label: \"uptime SLA\",\n      },\n    },\n    {\n      id: \"feature-4\",\n      icon: <MessageSquare className=\"size-6\" />,\n      title: \"Real-time Collaboration\",\n      description:\n        \"Work together seamlessly with live cursors, comments, and instant sync.\",\n      stat: {\n        value: \"10K+\",\n        label: \"active teams\",\n      },\n    },\n    {\n      id: \"feature-5\",\n      icon: <BarChart3 className=\"size-6\" />,\n      title: \"Advanced Analytics\",\n      description:\n        \"Deep insights into user behavior, conversions, and content performance.\",\n      stat: {\n        value: \"50+\",\n        label: \"metrics tracked\",\n      },\n    },\n    {\n      id: \"feature-6\",\n      icon: <Clock className=\"size-6\" />,\n      title: \"Version History\",\n      description:\n        \"Never lose work with automatic versioning and one-click rollback.\",\n      stat: {\n        value: \"90 days\",\n        label: \"retention\",\n      },\n    },\n  ],\n  buttons: [\n    { id: \"btn-1\", label: \"Explore all features\", href: \"https://beste.co\" },\n  ],\n};\n\nexport function Feature29({\n  badge,\n  heading,\n  description,\n  features = [],\n  buttons = [],\n  className,\n}: Feature29Props) {\n  if (features.length === 0) return null;\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-5 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 text-balance\">\n                {heading}\n              </h2>\n            )}\n            {description && (\n              <p className=\"mt-4 text-base md:text-lg text-balance text-muted-foreground\">\n                {description}\n              </p>\n            )}\n          </div>\n        )}\n\n        <div className=\"grid gap-4 sm:grid-cols-2 lg:grid-cols-3\">\n          {features.map((feature) => (\n            <div\n              key={feature.id}\n              className=\"group/feature29 relative flex flex-col rounded-xl border bg-card p-5 sm:p-6 transition-all duration-300 hover:border-primary/50 hover:shadow-lg\"\n            >\n              {/* Icon */}\n              <div className=\"mb-4 inline-flex size-12 items-center justify-center rounded-lg bg-primary/10 text-primary transition-colors group-hover/feature29:bg-primary group-hover/feature29:text-primary-foreground\">\n                {feature.icon}\n              </div>\n\n              {/* Title & Description */}\n              <div className=\"flex-1\">\n                <h3 className=\"mb-2 text-lg font-semibold\">{feature.title}</h3>\n                <p className=\"text-sm leading-relaxed text-muted-foreground\">\n                  {feature.description}\n                </p>\n              </div>\n\n              {/* Stat */}\n              {feature.stat && (\n                <div className=\"mt-4 flex items-baseline justify-between border-t pt-4\">\n                  <span className=\"text-sm text-muted-foreground\">\n                    {feature.stat.label}\n                  </span>\n                  <span className=\"text-2xl font-bold text-primary\">\n                    {feature.stat.value}\n                  </span>\n                </div>\n              )}\n            </div>\n          ))}\n        </div>\n\n        {buttons.length > 0 && (\n          <div className=\"mt-10 flex flex-wrap justify-center gap-3\">\n            {buttons.map((button) => (\n              <Button\n                key={button.id}\n                variant={button.variant ?? \"default\"}\n                asChild\n              >\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/feature29.tsx"
    }
  ],
  "type": "registry:block"
}