{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "team-section-6",
  "title": "Team Section 6",
  "description": "Solace UI team section block variation 6.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "src/registry/blocks/team-section/six/index.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport Image from \"next/image\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { cn } from \"@/lib/utils\";\n\ninterface TeamMember {\n  id: string;\n  name: string;\n  role: string;\n  image: string;\n  categories: string[];\n}\n\nconst teamMembers: TeamMember[] = [\n  {\n    id: \"member-1\",\n    name: \"David Kim\",\n    role: \"Founder & CEO\",\n    image: \"https://assets.solaceui.com/solaceui-member-two.png\",\n    categories: [\"Product\", \"GTM\"],\n  },\n  {\n    id: \"member-2\",\n    name: \"Sarah Chen\",\n    role: \"Head of Design\",\n    image: \"https://assets.solaceui.com/solaceui-member-five.png\",\n    categories: [\"Design\"],\n  },\n  {\n    id: \"member-3\",\n    name: \"James Mitchell\",\n    role: \"Product Manager\",\n    image: \"https://assets.solaceui.com/solaceui-member-four.png\",\n    categories: [\"Product\", \"GTM\"],\n  },\n  {\n    id: \"member-4\",\n    name: \"Marcus Rodriguez\",\n    role: \"VP of Engineering\",\n    image: \"https://assets.solaceui.com/solaceui-member-one.png\",\n    categories: [\"Security\", \"Product\"],\n  },\n  {\n    id: \"member-5\",\n    name: \"Olivia Koe\",\n    role: \"Lead Designer\",\n    image: \"https://assets.solaceui.com/solaceui-member-six.png\",\n    categories: [\"Design\"],\n  },\n  {\n    id: \"member-6\",\n    name: \"Amara Okonkwo\",\n    role: \"CTO\",\n    image: \"https://assets.solaceui.com/solaceui-member-three.png\",\n    categories: [\"Security\", \"Product\"],\n  },\n  {\n    id: \"member-7\",\n    name: \"Sofia Weber\",\n    role: \"Sales Director\",\n    image: \"https://assets.solaceui.com/solaceui-member-six.png\",\n    categories: [\"Sales\", \"GTM\"],\n  },\n  {\n    id: \"member-8\",\n    name: \"Elena Rodriguez\",\n    role: \"Head of Operations\",\n    image: \"https://assets.solaceui.com/solaceui-member-five.png\",\n    categories: [\"Operations\"],\n  },\n];\n\nconst categories = [\"All\", \"Product\", \"Design\", \"Sales\", \"Security\", \"GTM\", \"Operations\"];\n\nexport default function Team6() {\n  const [activeCategory, setActiveCategory] = useState<string>(\"All\");\n\n  const filteredMembers =\n    activeCategory === \"All\"\n      ? teamMembers\n      : teamMembers.filter((member) => member.categories.includes(activeCategory));\n\n  return (\n    <section className=\"relative w-full py-18 md:py-20 bg-white dark:bg-background overflow-hidden flex flex-col items-center justify-center\">\n      <div className=\"w-full max-w-6xl px-4 md:px-8 z-10 flex flex-col items-start text-left\">\n\n        {/* Title */}\n        <h2 className=\"text-4xl md:text-5xl lg:text-6xl font-sans font-semibold tracking-tight text-neutral-900 dark:text-white capitalize max-w-4xl mb-10 leading-tight\">\n          Meet The Incredible Team Behind Solace UI\n        </h2>\n\n        {/* Category Filters */}\n        <div className=\"flex flex-wrap gap-2 md:gap-3 mb-14 w-full\">\n          {categories.map((category) => (\n            <button\n              key={category}\n              onClick={() => setActiveCategory(category)}\n              className={cn(\n                \"px-4 py-1 text-sm md:text-base font-sans  border transition-all duration-300 cursor-pointer focus:outline-none\",\n                activeCategory === category\n                  ? \"border-black dark:border-white text-black dark:text-white bg-neutral-50 dark:bg-zinc-900 font-medium shadow-sm\"\n                  : \"border-neutral-200/60 dark:border-zinc-800/80 text-neutral-400 dark:text-zinc-500 hover:text-neutral-900 dark:hover:text-zinc-200 hover:border-neutral-300 dark:hover:border-zinc-700\"\n              )}\n            >\n              {category}\n            </button>\n          ))}\n        </div>\n\n        {/* Grid Container */}\n        <div className=\"relative w-full overflow-visible\">\n\n          <motion.div\n            layout\n            className=\"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-x-1 gap-y-1 w-full\"\n          >\n            <AnimatePresence mode=\"popLayout\">\n              {filteredMembers.map((member) => (\n                <motion.div\n                  layout\n                  initial={{ opacity: 0, scale: 0.95 }}\n                  animate={{ opacity: 1, scale: 1 }}\n                  exit={{ opacity: 0, scale: 0.95 }}\n                  transition={{ duration: 0.4, ease: \"easeInOut\" }}\n                  key={member.id}\n                  className=\"group relative aspect-[3/4.2] w-full rounded-md overflow-hidden bg-neutral-50 dark:bg-zinc-900 border border-neutral-200/50 dark:border-zinc-800/50 shadow-sm hover:shadow-xl transition-all duration-500 cursor-pointer\"\n                >\n                  {/* Image */}\n                  <Image\n                    src={member.image}\n                    alt={member.name}\n                    fill\n                    className=\"object-cover object-top transition-all duration-500 grayscale contrast-[1.05] group-hover:grayscale-0 group-hover:scale-[1.02]\"\n                    sizes=\"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw\"\n                    unoptimized\n                  />\n\n                  {/* Gradient Overlay for Text Readability */}\n                  <div className=\"absolute inset-0 bg-gradient-to-t from-black/70 via-black/25 to-transparent z-10\" />\n\n                  {/* Name overlay at the bottom left */}\n                  <div className=\"absolute bottom-6 left-6 z-20 flex flex-col text-left\">\n                    <h3 className=\"font-sans font-bold text-white text-2xl md:text-3xl leading-tight\">\n                      {member.name}\n                    </h3>\n                    <p className=\"font-sans text-white/70 text-sm md:text-base mt-2 font-light\">\n                      {member.role}\n                    </p>\n                  </div>\n                </motion.div>\n              ))}\n            </AnimatePresence>\n          </motion.div>\n        </div>\n      </div>\n\n      {/* Bottom fade overlay spanning end-to-end */}\n      <div className=\"absolute bottom-0 left-0 right-0 h-44 bg-gradient-to-t from-white via-white/80 to-transparent dark:from-background dark:via-background/80 pointer-events-none z-20\" />\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/team-section-6.tsx"
    }
  ],
  "type": "registry:block"
}