{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "select-large-list",
  "title": "Select component with a large list of options",
  "description": "Select component with a large list of options, built from the select component.",
  "registryDependencies": [
    "field",
    "select"
  ],
  "files": [
    {
      "path": "registry/patterns/select-large-list/select-large-list.tsx",
      "content": "/**\n * Select component with a large list of options - adapted for tealmac UI from the ReUI example \"c-select-4\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport { Field } from \"@/components/ui/field\"\nimport {\n  Select,\n  SelectContent,\n  SelectGroup,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from \"@/components/ui/select\"\n\nconst items = Array.from({ length: 100 }).map((_, i) => ({\n  label: `Item ${i}`,\n  value: `item-${i}`,\n}))\n\nexport function SelectLargeList() {\n  return (\n    <Field className=\"max-w-xs\">\n      <Select>\n        <SelectTrigger aria-label=\"Select an item\">\n          <SelectValue placeholder=\"Select an item\" />\n        </SelectTrigger>\n        <SelectContent>\n          <SelectGroup>\n            {items.map((item) => (\n              <SelectItem key={item.value} value={item.value}>\n                {item.label}\n              </SelectItem>\n            ))}\n          </SelectGroup>\n        </SelectContent>\n      </Select>\n    </Field>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}