{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "golden-grid-team-demo",
  "type": "registry:block",
  "title": "Golden Grid: Studio Team",
  "description": "Fibonacci Bento Grid example, Studio Team: A design studio's seven people in a portrait grid beside the featured person's name, role and one line about them. A take on the spiral gallery (spiral carousel) and image gallery (photo gallery). Fits portfolio, features and team sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "portfolio",
    "features",
    "team",
    "spiral-gallery",
    "image-gallery",
    "gallery",
    "layout",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/golden-grid#golden-grid-team-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/golden-grid.json"
  ],
  "files": [
    {
      "path": "components/golden-grid-team-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { GoldenGrid } from \"@/components/ui/golden-grid\";\n\nconst photo = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=900&h=900&q=80`;\n\nconst TEAM = [\n  {\n    src: photo(\"1758600587811-e9a20851cf7d\"),\n    alt: \"Mei Arakawa, smiling, in a white shirt in front of a painted wall\",\n    name: \"Mei Arakawa\",\n    role: \"Founder, creative director\",\n    line: \"Started Brightwork at her kitchen table in 2016 and still sketches every first idea by hand.\",\n  },\n  {\n    src: photo(\"1758600433359-fbac540190c4\"),\n    alt: \"Inès Moreau, with curly hair and round glasses\",\n    name: \"Inès Moreau\",\n    role: \"Design lead\",\n    line: \"Runs the critiques on Thursdays, and keeps the type specimens in a drawer by her desk.\",\n  },\n  {\n    src: photo(\"1758600588347-6e9295bdc8fc\"),\n    alt: \"Jonah Klein, in glasses and a blue shirt, giving two thumbs up\",\n    name: \"Jonah Klein\",\n    role: \"Producer\",\n    line: \"Turns a client's wish list into a plan with dates on it, and has never missed one.\",\n  },\n  {\n    src: photo(\"1758600588878-860445dd9a8c\"),\n    alt: \"Sofia Petrova, in a pale green sweater, smiling softly\",\n    name: \"Sofia Petrova\",\n    role: \"Brand designer\",\n    line: \"Draws logos as if they'll be stitched on a flag, because one of them was.\",\n  },\n  {\n    src: photo(\"1767175473698-859bc73e8e64\"),\n    alt: \"Tomás Ruiz, smiling, in a dark jacket against a grey wall\",\n    name: \"Tomás Ruiz\",\n    role: \"Engineering lead\",\n    line: \"Builds the prototypes clients click through, usually the night before they see them.\",\n  },\n  {\n    src: photo(\"1758600432948-5cec2a3fecb9\"),\n    alt: \"Hanne Lund, with short blonde hair, in a dark knit sweater\",\n    name: \"Hanne Lund\",\n    role: \"Studio manager\",\n    line: \"Knows where every file, invoice and spare key is, and who borrowed the good scissors.\",\n  },\n  {\n    src: photo(\"1758600436719-29d562218087\"),\n    alt: \"Freya Holm, with long blonde hair, looking straight at the camera\",\n    name: \"Freya Holm\",\n    role: \"Motion designer\",\n    line: \"Makes the logos move, and argues that every easing curve should have a reason.\",\n  },\n];\n\nexport function GoldenGridTeamDemo() {\n  const [index, setIndex] = React.useState(0);\n  const captionRef = React.useRef<HTMLDivElement>(null);\n  const person = TEAM[index];\n\n  // The name and role rise in with each new face.\n  React.useEffect(() => {\n    captionRef.current?.animate(\n      [\n        { opacity: 0, transform: \"translateY(6px)\" },\n        { opacity: 1, transform: \"none\" },\n      ],\n      { duration: 320, easing: \"cubic-bezier(0.22, 1, 0.36, 1)\" },\n    );\n  }, [index]);\n\n  return (\n    <section className=\"@container/team mx-auto w-full max-w-3xl rounded-2xl border border-zinc-200 bg-white text-zinc-950 dark:border-zinc-800 dark:bg-[#0b0b0d] dark:text-zinc-50\">\n      <div className=\"grid grid-cols-1 gap-8 p-6 @[40rem]/team:grid-cols-[minmax(0,1fr)_17rem] @[40rem]/team:items-center @[40rem]/team:gap-10 @[40rem]/team:p-10\">\n        <div className=\"flex flex-col gap-8\">\n          <div>\n            <p className=\"text-xs font-medium tracking-[0.14em] text-zinc-500 uppercase dark:text-zinc-400\">\n              Brightwork · The studio\n            </p>\n            <h3 className=\"mt-3 text-[1.75rem] leading-[1.1] font-semibold tracking-[-0.03em] text-balance\">\n              Seven people around one long table.\n            </h3>\n          </div>\n          <div ref={captionRef}>\n            <p className=\"text-lg font-semibold tracking-[-0.02em]\">{person.name}</p>\n            <p className=\"text-sm font-medium text-[#2747ff] dark:text-[#7d8bff]\">{person.role}</p>\n            <p className=\"mt-3 max-w-sm text-sm leading-relaxed text-zinc-600 dark:text-zinc-300\">{person.line}</p>\n          </div>\n          <a\n            href=\"https://brightwork.example/careers\"\n            className=\"self-start text-sm font-medium underline decoration-zinc-300 underline-offset-4 transition-colors hover:decoration-current focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-zinc-950 dark:decoration-zinc-700 dark:focus-visible:outline-white\"\n          >\n            Two open roles\n          </a>\n        </div>\n        <GoldenGrid\n          items={TEAM}\n          index={index}\n          onIndexChange={setIndex}\n          orientation=\"portrait\"\n          gap={6}\n          label=\"Brightwork team\"\n          className=\"mx-auto max-w-[17rem] rounded-xl text-white [--golden-grid-radius:0.75rem]\"\n        />\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}