{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "showcase3",
  "title": "Project Gallery Grid",
  "description": "Responsive three-column image gallery with hover zoom effects, captions, and optional clickable cards. Perfect for showcasing project portfolios or work samples.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge"
  ],
  "files": [
    {
      "path": "registry/showcase3/showcase3.tsx",
      "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface GalleryItem {\n  src: string;\n  alt: string;\n  caption?: string;\n  href?: string;\n}\n\ninterface Showcase3Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  images?: GalleryItem[];\n  className?: string;\n}\n\nexport const showcase3Demo: Showcase3Props = {\n  badge: { label: \"Gallery\", variant: \"secondary\" },\n  heading: \"See our work in action\",\n  description: \"Browse through our collection of successful projects and implementations\",\n  images: [\n    {\n      src: \"https://images.unsplash.com/photo-1565768502719-571073a68b4c?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8dmFsZW5jaWF8ZW58MHx8MHx8fDA%3D\",\n      alt: \"Project 1\",\n      caption: \"Enterprise Dashboard\",\n      href: \"https://beste.co\",\n    },\n    {\n      src: \"https://images.unsplash.com/photo-1583265101492-bfe6ef35cef8?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTF8fHZhbGVuY2lhfGVufDB8fDB8fHww\",\n      alt: \"Project 2\",\n      caption: \"Mobile Application\",\n      href: \"https://beste.co\",\n    },\n    {\n      src: \"https://images.unsplash.com/photo-1598618788227-8ddd0271e1d1?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MjB8fHZhbGVuY2lhfGVufDB8fDB8fHww\",\n      alt: \"Project 3\",\n      caption: \"E-commerce Platform\",\n      href: \"https://beste.co\",\n    },\n    {\n      src: \"https://images.unsplash.com/photo-1679510339995-295e406a0068?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mjh8fHZhbGVuY2lhfGVufDB8fDB8fHww\",\n      alt: \"Project 4\",\n      caption: \"SaaS Analytics\",\n      href: \"https://beste.co\",\n    },\n    {\n      src: \"https://images.unsplash.com/photo-1604781852341-00446b474291?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mzh8fHZhbGVuY2lhfGVufDB8fDB8fHww\",\n      alt: \"Project 5\",\n      caption: \"Healthcare Portal\",\n      href: \"https://beste.co\",\n    },\n    {\n      src: \"https://images.unsplash.com/photo-1516028809107-225c7e6bf3ec?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NDJ8fHZhbGVuY2lhfGVufDB8fDB8fHww\",\n      alt: \"Project 6\",\n      caption: \"Financial Dashboard\",\n      href: \"https://beste.co\",\n    },\n  ],\n};\n\nexport function Showcase3({ badge, heading, description, images = [], className }: Showcase3Props) {\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=\"mb-12 text-center\">\n            {badge && (\n              <Badge variant={badge.variant ?? \"default\"} className=\"mb-4\">\n                {badge.label}\n              </Badge>\n            )}\n            {heading && (\n              <h2 className=\"text-3xl font-bold tracking-tight md:text-4xl\">{heading}</h2>\n            )}\n            {description && <p className=\"mt-4 text-lg text-muted-foreground\">{description}</p>}\n          </div>\n        )}\n\n        {images.length > 0 && (\n          <div className=\"grid gap-6 md:grid-cols-2 lg:grid-cols-3\">\n            {images.map((image, index) => {\n              const content = (\n                <>\n                  <div className=\"aspect-[3/2] overflow-hidden\">\n                    <img\n                      src={image.src}\n                      alt={image.alt}\n                      width={600}\n                      height={400}\n                      className=\"size-full object-cover transition-transform duration-300 group-hover/showcase3:scale-105\"\n                    />\n                  </div>\n                  {image.caption && (\n                    <div className=\"p-4\">\n                      <p className=\"font-medium\">{image.caption}</p>\n                    </div>\n                  )}\n                </>\n              );\n\n              const cardClasses =\n                \"group/showcase3 relative overflow-hidden rounded-xl border bg-card\";\n\n              return image.href ? (\n                <Link key={index} href={image.href} className={cardClasses}>\n                  {content}\n                </Link>\n              ) : (\n                <div key={index} className={cardClasses}>\n                  {content}\n                </div>\n              );\n            })}\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/showcase3.tsx"
    }
  ],
  "type": "registry:block"
}