{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "list-box-example",
  "title": "List Box",
  "description": "list-box-example",
  "registryDependencies": [
    "https://intentui.com/r/list-box"
  ],
  "files": [
    {
      "path": "src/components/examples/collections/list-box/list-box-example.tsx",
      "content": "\"use client\"\n\nimport { ListBox, ListBoxItem } from \"@/components/ui/list-box\"\n\nexport default function ListBoxDemo() {\n  return (\n    <ListBox className=\"max-w-2xs\" items={rockPopBands} selectionMode=\"single\" aria-label=\"Bands\">\n      {(item) => (\n        <ListBoxItem id={item.id} textValue={item.name}>\n          {item.name}\n        </ListBoxItem>\n      )}\n    </ListBox>\n  )\n}\n\nconst rockPopBands = [\n  { id: \"1\", name: \"Nirvana\" },\n  { id: \"2\", name: \"Radiohead\" },\n  { id: \"3\", name: \"Foo Fighters\" },\n  { id: \"4\", name: \"Arctic Monkeys\" },\n  { id: \"5\", name: \"The Strokes\" },\n]\n",
      "type": "registry:page",
      "target": "app/list-box-example/page.tsx"
    }
  ],
  "type": "registry:page"
}