{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "portfolio-06",
  "type": "registry:block",
  "description": "Horizontal scroll-snap carousel of tall project cards with numbered counters and previous/next arrow controls.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/portfolio/portfolio-06.tsx",
      "content": "\"use client\"\n\nimport { useRef } from \"react\"\nimport { ArrowLeft, ArrowRight, ArrowUpRight } from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\n\nconst projects = [\n  {\n    client: \"Dalim Graphic\",\n    title: \"Graphic resources for designers\",\n    tag: \"Graphic\",\n    year: \"Case study\",\n    background: \"url(/images/templates/dalim-graphic-old.jpg) center / cover\",\n  },\n  {\n    client: \"Designali\",\n    title: \"AI startup template with Next.js\",\n    tag: \"Template\",\n    year: \"Template\",\n    background: \"url(/images/templates/ai.jpg) center / cover\",\n  },\n  {\n    client: \"Dalim Works\",\n    title: \"A portfolio site for studio work\",\n    tag: \"Web\",\n    year: \"Case study\",\n    background: \"url(/images/templates/dalim-works-old.jpg) center / cover\",\n  },\n  {\n    client: \"Dalim Visuals\",\n    title: \"CGI, 3D and motion visuals for brands\",\n    tag: \"CGI\",\n    year: \"Case study\",\n    background: \"url(/images/templates/dalim-visuals-old.jpg) center / cover\",\n  },\n  {\n    client: \"Designali\",\n    title: \"Resort template with booking flows\",\n    tag: \"Template\",\n    year: \"Template\",\n    background: \"url(/images/templates/resort.jpg) center / cover\",\n  },\n]\n\nexport default function Portfolio06() {\n  const track = useRef<HTMLDivElement>(null)\n\n  const scroll = (dir: 1 | -1) => {\n    const el = track.current\n    if (!el) return\n    el.scrollBy({ left: dir * el.clientWidth * 0.8, behavior: \"smooth\" })\n  }\n\n  return (\n    <section className=\"w-full overflow-hidden bg-background py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-6xl px-6\">\n        <div className=\"flex items-end justify-between gap-6\">\n          <div>\n            <p className=\"text-xs tracking-widest text-muted-foreground uppercase\">\n              Designali work\n            </p>\n            <h2 className=\"mt-3 max-w-xl text-3xl font-medium tracking-tight md:text-5xl\">\n              Five projects, design se code tak\n            </h2>\n          </div>\n          <div className=\"flex shrink-0 gap-2\">\n            <Button\n              variant=\"outline\"\n              size=\"icon-lg\"\n              aria-label=\"Previous project\"\n              onClick={() => scroll(-1)}\n            >\n              <ArrowLeft />\n            </Button>\n            <Button\n              variant=\"outline\"\n              size=\"icon-lg\"\n              aria-label=\"Next project\"\n              onClick={() => scroll(1)}\n            >\n              <ArrowRight />\n            </Button>\n          </div>\n        </div>\n\n        <div\n          ref={track}\n          className=\"-mx-6 mt-10 flex snap-x snap-mandatory scroll-px-6 gap-4 overflow-x-auto px-6 pb-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden\"\n        >\n          {projects.map((project, i) => (\n            <a\n              key={project.client}\n              href=\"#\"\n              className=\"group w-[82%] shrink-0 snap-start sm:w-[46%] lg:w-[31%]\"\n            >\n              <div className=\"relative aspect-[3/4] overflow-hidden border border-border\">\n                <div\n                  className=\"absolute inset-0 transition-transform duration-700 group-hover:scale-105\"\n                  style={{ background: project.background }}\n                />\n                <span className=\"absolute top-4 left-4 font-sans text-xs text-white/90\">\n                  {String(i + 1).padStart(2, \"0\")} /{\" \"}\n                  {String(projects.length).padStart(2, \"0\")}\n                </span>\n                <span className=\"absolute top-4 right-4 bg-background/90 px-2 py-0.5 text-[11px] backdrop-blur\">\n                  {project.tag}\n                </span>\n                <span className=\"absolute right-4 bottom-4 flex size-10 items-center justify-center bg-background transition-transform group-hover:-translate-y-1\">\n                  <ArrowUpRight className=\"size-4\" />\n                </span>\n              </div>\n              <div className=\"mt-4 flex items-baseline justify-between gap-4\">\n                <p className=\"text-sm text-muted-foreground\">\n                  {project.client}\n                </p>\n                <span className=\"font-sans text-xs text-muted-foreground\">\n                  {project.year}\n                </span>\n              </div>\n              <h3 className=\"mt-1 text-lg leading-snug font-medium\">\n                {project.title}\n              </h3>\n            </a>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "portfolio"
  ]
}