{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "files": [
    {
      "content": "\"use client\";\n\nimport { Listbox } from \"~/registry/ui/list-box\";\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\nexport function ListBoxDemo() {\n  return (\n    <Listbox.Root\n      aria-label=\"Bands\"\n      items={rockPopBands}\n      selectionMode=\"single\"\n    >\n      {(item) => <Listbox.Item id={item.id}>{item.name}</Listbox.Item>}\n    </Listbox.Root>\n  );\n}\n",
      "path": "src/registry/examples/list-box/list-box-demo.tsx",
      "type": "registry:example"
    }
  ],
  "name": "list-box-demo",
  "registryDependencies": [
    "@kanpeki/list-box"
  ],
  "type": "registry:example"
}