{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slide-puzzle-team-demo",
  "type": "registry:block",
  "title": "Slide Puzzle: Team",
  "description": "Sliding Tile Background example, Team: A studio's careers section with the team as portrait tiles and three orange open seats. Rest on a face for a name and role. A take on the animated background (backdrop). Fits integrations, CTA, team, 404 page and hero sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "integrations",
    "cta",
    "team",
    "404-page",
    "hero",
    "animated-background",
    "background",
    "interaction",
    "landing"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/slide-puzzle#slide-puzzle-team-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/slide-puzzle.json"
  ],
  "files": [
    {
      "path": "components/slide-puzzle-team-demo.tsx",
      "type": "registry:component",
      "content": "import * as React from \"react\";\n\nimport { SlidePuzzle, type SlidePuzzleTile } from \"@/components/ui/slide-puzzle\";\n\nconst portrait = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=facearea&facepad=2.5&w=128&h=128&q=80`;\n\n// Field & Fold, a small type-tools studio: the team, plus the seats that are open.\nconst PEOPLE: [string, string, string][] = [\n  [\"ines\", \"Inês Duarte · Design lead\", \"1438761681033-6461ffad8d80\"],\n  [\"matteo\", \"Matteo Ricci · Engineering\", \"1500648767791-00dcc994a43e\"],\n  [\"sofia\", \"Sofia Lindqvist · Type design\", \"1494790108377-be9c29b29330\"],\n  [\"dev\", \"Dev Arora · Founder\", \"1507003211169-0a1dd7228f2d\"],\n  [\"hana\", \"Hana Mori · Product\", \"1534528741775-53994a69daeb\"],\n  [\"noor\", \"Noor Haddad · Research\", \"1544005313-94ddf0286df2\"],\n  [\"luca\", \"Luca Brandt · Engineering\", \"1506794778202-cad84cf45f1d\"],\n  [\"ada\", \"Ada Okafor · Support\", \"1573496359142-b8d87734a5a2\"],\n  [\"tomas\", \"Tomás Vidal · Fonts\", \"1552058544-f2b08422138a\"],\n];\n\nconst SEATS = [\"Product designer\", \"Rust engineer\", \"Type engineer\"];\n\nconst TILES: SlidePuzzleTile[] = [\n  ...PEOPLE.map(([id, label, photo]) => ({\n    id,\n    label,\n    href: `#team-${id}`,\n    // eslint-disable-next-line @next/next/no-img-element\n    icon: <img src={portrait(photo)} alt=\"\" draggable={false} className=\"size-full object-cover\" />,\n  })),\n  ...SEATS.map((role, i) => ({\n    id: `seat-${i}`,\n    label: `Open seat · ${role}`,\n    href: \"#roles\",\n    icon: (\n      <span className=\"flex size-full items-center justify-center bg-[#ff5a1f]/10 text-[#ff5a1f] dark:bg-[#ff5a1f]/15\">\n        <svg viewBox=\"0 0 16 16\" className=\"size-4\" aria-hidden>\n          <path d=\"M8 3v10M3 8h10\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" />\n        </svg>\n      </span>\n    ),\n  })),\n];\n\nexport function SlidePuzzleTeamDemo() {\n  return (\n    <section className=\"w-full max-w-5xl overflow-hidden rounded-3xl border border-zinc-950/[0.06] bg-zinc-50 text-zinc-950 dark:border-white/10 dark:bg-zinc-950 dark:text-white\">\n      <SlidePuzzle tiles={TILES} cell={68} seed={3}>\n        <div className=\"flex max-w-md flex-col items-center text-center\">\n          <p className=\"text-xs font-medium uppercase tracking-[0.14em] text-[#ff5a1f]\">Careers · 3 open seats</p>\n          <h2 className=\"mt-3 text-balance text-3xl font-medium tracking-[-0.03em] sm:text-4xl\">\n            Come make small things feel right.\n          </h2>\n          <p className=\"mt-3 text-pretty text-[15px] leading-relaxed text-zinc-500 dark:text-zinc-400\">\n            We&apos;re nine people in Lisbon and Oslo building the tools type designers open every morning. The orange\n            tiles are waiting for someone.\n          </p>\n          <div className=\"mt-6 flex flex-wrap items-center justify-center gap-2\">\n            <a\n              href=\"#roles\"\n              className=\"inline-flex h-9 items-center rounded-full bg-zinc-950 px-4 text-sm font-medium text-white transition-colors hover:bg-zinc-800 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#ff5a1f] dark:bg-white dark:text-zinc-950 dark:hover:bg-zinc-200\"\n            >\n              See open roles\n            </a>\n            <a\n              href=\"#studio\"\n              className=\"inline-flex h-9 items-center rounded-full px-3 text-sm font-medium text-zinc-600 transition-colors hover:text-zinc-950 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#ff5a1f] dark:text-zinc-400 dark:hover:text-white\"\n            >\n              How we work →\n            </a>\n          </div>\n        </div>\n      </SlidePuzzle>\n    </section>\n  );\n}\n"
    }
  ]
}