{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "portfolio-01",
  "title": "Portfolio Grid",
  "author": "VenusUI",
  "description": "A studio portfolio with a filterable, editorial project grid.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "registry/default/blocks/portfolio-01/components/portfolio-01.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ArrowUpRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\n// Photos: Unsplash (free under the Unsplash License). The studio and clients are made up.\nconst photo = (id: string) => `https://images.unsplash.com/photo-${id}?w=900&h=700&fit=crop&auto=format&q=75`\n\nconst projects = [\n  { title: \"Meridian Tower\", type: \"Architecture\", year: \"2026\", image: photo(\"1486406146926-c627a92ad1ab\"), alt: \"Dark glass towers seen from street level\", wide: true },\n  { title: \"Tidal\", type: \"Identity\", year: \"2026\", image: photo(\"1618005182384-a83a8bd57fbe\"), alt: \"Flowing waves of purple and blue colour\", wide: false },\n  { title: \"Harbour Museum\", type: \"Architecture\", year: \"2025\", image: photo(\"1487958449943-2429e8be8625\"), alt: \"An angular white building with glass walls\", wide: false },\n  { title: \"Ink & Current\", type: \"Art direction\", year: \"2025\", image: photo(\"1541701494587-cb58502866ab\"), alt: \"Clouds of blue and orange ink in water\", wide: true },\n  { title: \"Quiet Floors\", type: \"Interiors\", year: \"2025\", image: photo(\"1497366216548-37526070297c\"), alt: \"A long, calm office corridor with glass doors\", wide: true },\n  { title: \"Paperwhite\", type: \"Identity\", year: \"2024\", image: photo(\"1558591710-4b4a1ae0f04d\"), alt: \"Soft white folds of curved paper\", wide: false },\n]\n\nconst filters = [\"All\", ...new Set(projects.map((project) => project.type))]\n\n/** A studio portfolio: a filterable, editorial grid of projects. */\nexport function Portfolio01() {\n  const [filter, setFilter] = React.useState(\"All\")\n  const shown = projects.filter((project) => filter === \"All\" || project.type === filter)\n\n  return (\n    <section aria-labelledby=\"portfolio-01-title\" className=\"py-24 sm:py-28\">\n      <div className=\"mx-auto max-w-6xl px-4 sm:px-6\">\n        <div className=\"flex flex-wrap items-end justify-between gap-6\">\n          <h2 id=\"portfolio-01-title\" className=\"max-w-xl text-4xl font-semibold tracking-tight text-balance sm:text-5xl\">\n            Selected work, 2024 to now\n          </h2>\n          <div role=\"group\" aria-label=\"Filter projects\" className=\"flex flex-wrap gap-x-4 gap-y-1 text-sm\">\n            {filters.map((name) => (\n              <button\n                key={name}\n                type=\"button\"\n                aria-pressed={filter === name}\n                onClick={() => setFilter(name)}\n                className=\"rounded-sm py-1 text-muted-foreground underline-offset-4 outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 aria-pressed:text-foreground aria-pressed:underline\"\n              >\n                {name}\n              </button>\n            ))}\n          </div>\n        </div>\n        <ul className=\"mt-10 grid gap-x-5 gap-y-9 sm:grid-cols-6\">\n          {shown.map((project) => (\n            <li key={project.title} className={cn(\"sm:col-span-3\", filter === \"All\" && (project.wide ? \"lg:col-span-4\" : \"lg:col-span-2\"))}>\n              <a href=\"#\" className=\"group block rounded-lg outline-none focus-visible:ring-3 focus-visible:ring-ring/50\">\n                <span className=\"block overflow-hidden rounded-lg bg-muted\">\n                  <img src={project.image} alt={project.alt} loading=\"lazy\" className=\"h-64 w-full object-cover transition-transform duration-700 ease-out group-hover:scale-[1.03] motion-reduce:transition-none lg:h-80\" />\n                </span>\n                <span className=\"mt-3 flex items-start justify-between gap-3\">\n                  <span>\n                    <span className=\"block font-medium\">{project.title}</span>\n                    <span className=\"block text-sm text-muted-foreground\">\n                      {project.type}, {project.year}\n                    </span>\n                  </span>\n                  <ArrowUpRight aria-hidden=\"true\" className=\"mt-0.5 size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5 motion-reduce:transition-none\" />\n                </span>\n              </a>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "content"
  ],
  "type": "registry:block"
}