{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hover-preview-team-demo",
  "type": "registry:block",
  "title": "Hover Preview: Team",
  "description": "Cursor Image Preview example, Team: Names and roles, with a portrait on hover. The frame is taller and rounder, and leans a little less. A take on the hover list (list hover) and image reveal (hover reveal). Fits team, portfolio and blog sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "team",
    "portfolio",
    "blog",
    "hover-list",
    "image-reveal",
    "cursor",
    "list",
    "image",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/hover-preview#hover-preview-team-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/hover-preview.json"
  ],
  "files": [
    {
      "path": "components/hover-preview-team-demo.tsx",
      "type": "registry:component",
      "content": "import { HoverPreview, HoverPreviewItem } from \"@/components/ui/hover-preview\";\n\nconst people = [\n  { name: \"Ines Moreau\", role: \"Creative Director\", city: \"Paris\", photo: \"1438761681033-6461ffad8d80\" },\n  { name: \"Rafael Santos\", role: \"Design Lead\", city: \"Lisbon\", photo: \"1507003211169-0a1dd7228f2d\" },\n  { name: \"Mei Tanaka\", role: \"Motion Designer\", city: \"Tokyo\", photo: \"1534528741775-53994a69daeb\" },\n  { name: \"Luca Bianchi\", role: \"Engineering Lead\", city: \"Milan\", photo: \"1500648767791-00dcc994a43e\" },\n  { name: \"Amara Okafor\", role: \"Strategy Director\", city: \"Lagos\", photo: \"1531123897727-8f129e1688ce\" },\n  { name: \"Jonas Weber\", role: \"Brand Designer\", city: \"Berlin\", photo: \"1539571696357-5a69c17a67c6\" },\n];\n\nconst photo = (id: string, width: number, height: number) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&crop=faces&w=${width}&h=${height}&q=80`;\n\nconst slug = (name: string) => name.toLowerCase().replace(/\\s+/g, \"-\");\n\nexport function HoverPreviewTeamDemo() {\n  return (\n    <section className=\"w-full max-w-2xl\">\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      <HoverPreview previewClassName=\"aspect-[4/5] w-48 rounded-xl sm:w-56\" tilt={4}>\n        {people.map((person) => (\n          <HoverPreviewItem\n            key={person.name}\n            href={`#${slug(person.name)}`}\n            image={photo(person.photo, 480, 600)}\n            thumbnail={photo(person.photo, 120, 120)}\n            thumbnailClassName=\"size-10 rounded-full\"\n            className=\"border-b border-zinc-200 py-4 dark:border-zinc-800\"\n          >\n            <span className=\"flex-1\">\n              <span className=\"block text-xl font-medium tracking-tight text-zinc-900 sm:text-2xl dark:text-zinc-50\">\n                {person.name}\n              </span>\n              <span className=\"mt-0.5 block text-sm text-zinc-500\">{person.role}</span>\n            </span>\n            <span className=\"font-mono text-xs text-zinc-500\">{person.city}</span>\n          </HoverPreviewItem>\n        ))}\n      </HoverPreview>\n    </section>\n  );\n}\n"
    }
  ]
}