{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "combo-box-avatar-example",
  "title": "Combo Box Avatar",
  "description": "combo-box-avatar-example",
  "registryDependencies": [
    "https://intentui.com/r/avatar",
    "https://intentui.com/r/combo-box"
  ],
  "files": [
    {
      "path": "src/components/examples/pickers/combo-box/combo-box-avatar-example.tsx",
      "content": "\"use client\"\n\nimport { Avatar } from \"@/components/ui/avatar\"\nimport {\n  ComboBox,\n  ComboBoxContent,\n  ComboBoxInput,\n  ComboBoxItem,\n  ComboBoxLabel,\n} from \"@/components/ui/combo-box\"\n\nexport default function ComboBoxAvatarDemo() {\n  return (\n    <ComboBox aria-label=\"Users\" isRequired>\n      <ComboBoxInput placeholder=\"Select a user\" />\n      <ComboBoxContent items={users}>\n        {(item) => (\n          <ComboBoxItem id={item.id} textValue={item.name}>\n            <Avatar src={item.image_url} />\n            <ComboBoxLabel>{item.name}</ComboBoxLabel>\n          </ComboBoxItem>\n        )}\n      </ComboBoxContent>\n    </ComboBox>\n  )\n}\n\nexport const users = [\n  {\n    id: 1,\n    name: \"Barbara Kirlin Sr.\",\n    image_url: \"https://i.pravatar.cc/150?img=1\",\n  },\n  {\n    id: 2,\n    name: \"Rosemarie Koch\",\n    image_url: \"https://i.pravatar.cc/150?img=2\",\n  },\n  {\n    id: 3,\n    name: \"Mrs. Reva Heaney Jr.\",\n    image_url: \"https://i.pravatar.cc/150?img=3\",\n  },\n  {\n    id: 4,\n    name: \"Ms. Ettie Abshire DVM\",\n    image_url: \"https://i.pravatar.cc/150?img=4\",\n  },\n  {\n    id: 5,\n    name: \"Bria Ziemann\",\n    image_url: \"https://i.pravatar.cc/150?img=5\",\n  },\n  {\n    id: 6,\n    name: \"Heloise Borer Sr.\",\n    image_url: \"https://i.pravatar.cc/150?img=6\",\n  },\n  {\n    id: 7,\n    name: \"Miss Jacinthe Gerlach DVM\",\n    image_url: \"https://i.pravatar.cc/150?img=7\",\n  },\n  {\n    id: 8,\n    name: \"Miss Stephania Schaefer Sr.\",\n    image_url: \"https://i.pravatar.cc/150?img=8\",\n  },\n  {\n    id: 9,\n    name: \"Kevon Hackett MD\",\n    image_url: \"https://i.pravatar.cc/150?img=9\",\n  },\n  {\n    id: 10,\n    name: \"Tom Ledner\",\n    image_url: \"https://i.pravatar.cc/150?img=10\",\n  },\n]\n",
      "type": "registry:page",
      "target": "app/combo-box-avatar-example/page.tsx"
    }
  ],
  "type": "registry:page"
}