{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "avatar-stack-demo",
  "title": "Avatar Stack Demo",
  "description": "A worked example of Avatar Stack: Overlapping faces with a count for the rest, and the names underneath as a real list.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/avatar-stack.json"
  ],
  "files": [
    {
      "path": "components/demos/avatar-stack-demo.tsx",
      "content": "\"use client\"\n\nimport { AvatarStack } from \"@/registry/default/avatar-stack/avatar-stack\"\n\nconst people = [\n  { id: \"1\", name: \"Ada Lovelace\" },\n  { id: \"2\", name: \"Grace Hopper\" },\n  { id: \"3\", name: \"Alan Turing\" },\n  { id: \"4\", name: \"Katherine Johnson\" },\n  { id: \"5\", name: \"Radia Perlman\" },\n  { id: \"6\", name: \"Barbara Liskov\" },\n]\n\nexport function AvatarStackDemo() {\n  return (\n    <div className=\"grid justify-items-center gap-3\">\n      <AvatarStack people={people} label=\"On this document\" />\n      <p className=\"text-muted-foreground text-xs\">\n        Point at the group and it fans out.\n      </p>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}