{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "avatar",
  "type": "registry:component",
  "title": "Avatar",
  "description": "Doodle faces generated from a name, so the same person always gets the same face. Real photos can drop in too.",
  "categories": [
    "display"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/avatar-example.tsx",
      "type": "registry:component",
      "target": "components/plop/avatar-example.tsx",
      "content": "import { Avatar, AvatarStack } from \"@plop-ui/react\";\n\nconst crew = [\"Jun Reyes\", \"Ana Cruz\", \"Rosa Santos\", \"Theo Park\", \"Mia Lopez\"];\n\n/** Avatar: doodle faces drawn from a name (the same name always gets the same face), with status and stacks. */\nexport function AvatarExample() {\n  return (\n    <>\n      <Avatar name=\"Jun Reyes\" status=\"online\" />\n      <Avatar name=\"Ana Cruz\" status=\"busy\" statusLabel=\"on a call\" />\n      <AvatarStack names={crew} max={3} />\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/avatar-example.tsx. Docs: https://plopui.com/docs/components/avatar"
}
