{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "usecase2",
  "title": "Use Case Card Grid",
  "description": "Responsive grid of use case cards with hover effects, images, descriptions, and feature checklists. Perfect for displaying solutions for different industries or customer segments.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge"
  ],
  "files": [
    {
      "path": "registry/usecase2/usecase2.tsx",
      "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Check } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\ninterface UseCaseFeature {\n  id: string;\n  text: string;\n}\n\ninterface UseCaseItem {\n  id: string;\n  title: string;\n  description: string;\n  image?: {\n    src: string;\n    alt: string;\n  };\n  features?: UseCaseFeature[];\n}\n\ninterface UseCase2Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  items: UseCaseItem[];\n  columns?: 2 | 3;\n  className?: string;\n}\n\nexport const usecase2Demo: UseCase2Props = {\n  badge: { label: \"Solutions\", variant: \"secondary\" },\n  heading: \"Tailored for Your Needs\",\n  description:\n    \"Explore how our platform adapts to different industries and use cases to deliver maximum value.\",\n  columns: 3,\n  items: [\n    {\n      id: \"startup\",\n      title: \"Startups\",\n      description:\n        \"Launch faster with pre-built templates, automated workflows, and scalable infrastructure that grows with your business.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1765775356127-520bc54f6fa9?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n        alt: \"Startup workspace\",\n      },\n      features: [\n        { id: \"f1\", text: \"Quick setup in minutes\" },\n        { id: \"f2\", text: \"Scalable from day one\" },\n        { id: \"f3\", text: \"Cost-effective pricing\" },\n      ],\n    },\n    {\n      id: \"enterprise\",\n      title: \"Enterprise\",\n      description:\n        \"Enterprise-grade security, compliance, and customization options for large organizations with complex requirements.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1651935636718-9a1f34179b2a?q=80&w=1635&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n        alt: \"Enterprise building\",\n      },\n      features: [\n        { id: \"f4\", text: \"SOC 2 compliant\" },\n        { id: \"f5\", text: \"Unlimited team members\" },\n        { id: \"f6\", text: \"24/7 priority support\" },\n      ],\n    },\n    {\n      id: \"agency\",\n      title: \"Agencies\",\n      description:\n        \"Manage multiple client projects, collaborate with teams, and deliver stunning results on time, every time.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1719689720051-0d76bce5f8a7?q=80&w=1635&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n        alt: \"Agency workspace\",\n      },\n      features: [\n        { id: \"f7\", text: \"Multi-project management\" },\n        { id: \"f8\", text: \"Client collaboration\" },\n        { id: \"f9\", text: \"White-label options\" },\n      ],\n    },\n  ],\n};\n\nexport function UseCase2({\n  badge,\n  heading,\n  description,\n  items,\n  columns = 3,\n  className,\n}: UseCase2Props) {\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        {/* Header */}\n        <div className=\"text-center mb-12\">\n          {badge?.label && (\n            <div className=\"mb-6 flex justify-center\">\n              <Badge variant={badge.variant ?? \"secondary\"}>{badge.label}</Badge>\n            </div>\n          )}\n          {heading && (\n            <h2 className=\"text-2xl md:text-4xl font-semibold text-balance max-w-4xl mx-auto\">\n              {heading}\n            </h2>\n          )}\n          {description && (\n            <p className=\"mt-4 text-base sm:text-lg text-muted-foreground text-balance max-w-3xl mx-auto\">\n              {description}\n            </p>\n          )}\n        </div>\n\n        {/* Cards Grid */}\n        <div\n          className={cn(\n            \"grid gap-6\",\n            columns === 2 ? \"md:grid-cols-2\" : \"md:grid-cols-2 lg:grid-cols-3\"\n          )}\n        >\n          {items.map((item) => (\n            <div\n              key={item.id}\n              className=\"group/usecase2 rounded-lg border overflow-hidden transition-all duration-300 hover:shadow-lg\"\n            >\n              {/* Card Image */}\n              {item.image && (\n                <div className=\"aspect-video overflow-hidden\">\n                  <img\n                    src={item.image.src}\n                    alt={item.image.alt}\n                    width={800}\n                    height={450}\n                    className=\"w-full h-full object-cover transition-transform duration-500 group-hover/usecase2:scale-105\"\n                  />\n                </div>\n              )}\n\n              {/* Card Content */}\n              <div className=\"p-6\">\n                <h3 className=\"text-lg font-semibold mb-2\">{item.title}</h3>\n                <p className=\"text-sm text-muted-foreground mb-4\">{item.description}</p>\n\n                {/* Features */}\n                {item.features && item.features.length > 0 && (\n                  <ul className=\"space-y-2\">\n                    {item.features.map((feature) => (\n                      <li\n                        key={feature.id}\n                        className=\"flex items-center gap-2 text-sm text-muted-foreground\"\n                      >\n                        <Check className=\"size-4 flex-shrink-0 text-primary\" />\n                        <span>{feature.text}</span>\n                      </li>\n                    ))}\n                  </ul>\n                )}\n              </div>\n            </div>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/usecase2.tsx"
    }
  ],
  "type": "registry:block"
}