{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "combo-box-invalid-example",
  "title": "Combo Box Invalid",
  "description": "combo-box-invalid-example",
  "registryDependencies": [
    "https://intentui.com/r/avatar",
    "https://intentui.com/r/combo-box",
    "https://intentui.com/r/field"
  ],
  "files": [
    {
      "path": "src/components/examples/pickers/combo-box/combo-box-invalid-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'\nimport { Label } from '@/components/ui/field'\n\nconst users = [\n  {\n    id: 1,\n    name: 'Barbara Kirlin Sr.',\n    image_url: 'https://i.pravatar.cc/150?img=1',\n  },\n  //...\n]\nexport default function ComboBoxInvalidDemo() {\n  return (\n    <ComboBox name=\"users\" isInvalid>\n      <Label>Users</Label>\n      <ComboBoxInput placeholder=\"Select a user\" />\n      <ComboBoxContent items={users}>\n        {(item) => (\n          <ComboBoxItem key={item.id} 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",
      "type": "registry:page",
      "target": "app/combo-box-invalid-example/page.tsx"
    }
  ],
  "type": "registry:page"
}