{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/combobox-01","type":"registry:component","title":"Combobox 1","description":"Basic combobox with framework selection and searchable dropdown","registryDependencies":["combobox"],"files":[{"path":"src/registry/new-york/components/combobox/combobox-01.tsx","content":"'use client'\n\nimport {\n  Combobox,\n  ComboboxContent,\n  ComboboxEmpty,\n  ComboboxInput,\n  ComboboxItem,\n  ComboboxList\n} from '@/registry/new-york/ui/combobox'\n\nconst frameworks = ['Next.js', 'SvelteKit', 'Nuxt.js', 'Remix', 'Astro'] as const\n\nconst ComboboxDemo = () => {\n  return (\n    <Combobox items={frameworks}>\n      <ComboboxInput placeholder='Select a framework' />\n      <ComboboxContent>\n        <ComboboxEmpty>No items found.</ComboboxEmpty>\n        <ComboboxList>\n          {item => (\n            <ComboboxItem key={item} value={item}>\n              {item}\n            </ComboboxItem>\n          )}\n        </ComboboxList>\n      </ComboboxContent>\n    </Combobox>\n  )\n}\n\nexport default ComboboxDemo\n","type":"registry:component","target":"components/shadcn-studio/combobox/combobox-01.tsx"}]}