{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "combo-box-detail-description-example",
  "title": "Combo Box Detail Description",
  "description": "combo-box-detail-description-example",
  "registryDependencies": [
    "https://intentui.com/r/combo-box"
  ],
  "files": [
    {
      "path": "src/components/examples/pickers/combo-box/combo-box-detail-description-example.tsx",
      "content": "\"use client\"\n\nimport {\n  ComboBox,\n  ComboBoxContent,\n  ComboBoxDescription,\n  ComboBoxInput,\n  ComboBoxItem,\n  ComboBoxLabel,\n} from \"@/components/ui/combo-box\"\n\nexport default function ComboBoxDetailDescriptionDemo() {\n  return (\n    <ComboBox aria-label=\"Roles\" name=\"roles\">\n      <ComboBoxInput placeholder=\"Select role\" />\n      <ComboBoxContent className=\"max-w-(--trigger-width)\" items={roles}>\n        {(item) => (\n          <ComboBoxItem id={item.id} textValue={item.name}>\n            <ComboBoxLabel>{item.name}</ComboBoxLabel>\n            <ComboBoxDescription>{item.description}</ComboBoxDescription>\n          </ComboBoxItem>\n        )}\n      </ComboBoxContent>\n    </ComboBox>\n  )\n}\n\nexport const roles = [\n  {\n    id: 1,\n    name: \"Admin\",\n    description: \"Has full access to all resources\",\n  },\n  {\n    id: 2,\n    name: \"Editor\",\n    description: \"Can edit content but has limited access to settings\",\n  },\n  {\n    id: 3,\n    name: \"Viewer\",\n    description: \"Can view content but cannot make changes\",\n  },\n  {\n    id: 4,\n    name: \"Contributor\",\n    description: \"Can contribute content for review\",\n  },\n  {\n    id: 5,\n    name: \"Guest\",\n    description: \"Limited access, mostly for viewing purposes\",\n  },\n]\n",
      "type": "registry:page",
      "target": "app/combo-box-detail-description-example/page.tsx"
    }
  ],
  "type": "registry:page"
}