{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slice-gallery-team-demo",
  "type": "registry:block",
  "title": "Slice Gallery: Team Portraits",
  "description": "Image Accordion example, Team Portraits: Six portraits in black and white, with the open one in color through `imageClassName`. The role takes the person's accent. On a phone the portraits stack; on a touch screen side by side, drag a finger across them to flip through faces. A take on the accordion (collapsible) and image gallery (photo gallery). Fits portfolio, team and hero sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "portfolio",
    "team",
    "hero",
    "accordion",
    "image-gallery",
    "carousel",
    "image-reveal",
    "gallery",
    "hover",
    "layout"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/slice-gallery#slice-gallery-team-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/slice-gallery.json"
  ],
  "files": [
    {
      "path": "components/slice-gallery-team-demo.tsx",
      "type": "registry:component",
      "content": "import { SliceGallery, SliceGalleryItem } from \"@/components/ui/slice-gallery\";\n\nconst people = [\n  {\n    name: \"Ines Moreau\",\n    role: \"Creative Director\",\n    city: \"Paris\",\n    note: \"Sets the tone for every launch, then argues about kerning.\",\n    photo: \"1438761681033-6461ffad8d80\",\n    accent: \"#f5b8a8\",\n  },\n  {\n    name: \"Rafael Santos\",\n    role: \"Design Lead\",\n    city: \"Lisbon\",\n    note: \"Runs the design system and the Friday crits.\",\n    photo: \"1507003211169-0a1dd7228f2d\",\n    accent: \"#a8d5f5\",\n  },\n  {\n    name: \"Mei Tanaka\",\n    role: \"Motion Designer\",\n    city: \"Tokyo\",\n    note: \"Makes the product move, and knows when it shouldn't.\",\n    photo: \"1534528741775-53994a69daeb\",\n    accent: \"#c8b6ff\",\n  },\n  {\n    name: \"Luca Bianchi\",\n    role: \"Engineering Lead\",\n    city: \"Milan\",\n    note: \"Ships the hard parts and keeps the build under a minute.\",\n    photo: \"1500648767791-00dcc994a43e\",\n    accent: \"#b4e3c3\",\n  },\n  {\n    name: \"Amara Okafor\",\n    role: \"Strategy Director\",\n    city: \"Lagos\",\n    note: \"Turns research into the brief everyone else works from.\",\n    photo: \"1531123897727-8f129e1688ce\",\n    accent: \"#ffd28a\",\n  },\n  {\n    name: \"Jonas Weber\",\n    role: \"Brand Designer\",\n    city: \"Berlin\",\n    note: \"Draws the logos, then draws them again, smaller.\",\n    photo: \"1539571696357-5a69c17a67c6\",\n    accent: \"#f7a8cf\",\n  },\n];\n\nconst photo = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&crop=faces&w=800&h=1000&q=80`;\n\nconst slug = (name: string) => name.toLowerCase().replace(/\\s+/g, \".\");\n\nexport function SliceGalleryTeamDemo() {\n  return (\n    <section className=\"w-full max-w-4xl\">\n      <div className=\"mb-6\">\n        <p className=\"font-mono text-xs tracking-widest text-zinc-500 uppercase\">The studio</p>\n        <h3 className=\"mt-2 text-2xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-50\">\n          Six people, four time zones\n        </h3>\n      </div>\n\n      <SliceGallery grow={4} gap={6} defaultIndex={2} className=\"h-[36rem] sm:h-[28rem]\">\n        {people.map((person) => (\n          <SliceGalleryItem\n            key={person.name}\n            title={person.name}\n            label={person.city}\n            image={photo(person.photo)}\n            accent={person.accent}\n            className=\"rounded-xl\"\n            imageClassName=\"grayscale transition-[filter] duration-700 group-data-[state=open]/slice:grayscale-0\"\n          >\n            <p className=\"text-sm font-medium\" style={{ color: person.accent }}>\n              {person.role}\n            </p>\n            <p className=\"mt-1 max-w-[16rem] text-sm leading-snug text-pretty text-white/85\">\n              {person.note}\n            </p>\n            <a\n              href={`mailto:${slug(person.name)}@studio.example`}\n              className=\"mt-3 inline-flex rounded text-xs text-white/70 underline-offset-4 outline-none hover:text-white hover:underline focus-visible:ring-2 focus-visible:ring-white/70\"\n            >\n              {slug(person.name)}@studio.example\n            </a>\n          </SliceGalleryItem>\n        ))}\n      </SliceGallery>\n    </section>\n  );\n}\n"
    }
  ]
}