{ "name": "select", "type": "registry:ui", "title": "Select", "description": "Select dropdown component", "registryDependencies": [], "dependencies": [ "@radix-ui/react-select", "lucide-react" ], "files": [ { "path": "components/ui/select.tsx", "type": "registry:ui", "content": "import * as React from \"react\";\nimport * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\";\nimport { cn } from \"@barddev/ui-shared\";\n\n/**\n * Select root component\n * Wraps Radix UI Select primitive\n */\nfunction Select({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\n/**\n * Select group for organizing items\n */\nfunction SelectGroup({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\n/**\n * Select value display\n */\nfunction SelectValue({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\n/**\n * Select trigger button\n * Opens the select dropdown when clicked\n */\nfunction SelectTrigger({\n className,\n size = \"sm\",\n children,\n ...props\n}: React.ComponentProps & {\n size?: \"sm\" | \"default\";\n}) {\n return (\n \n {children}\n \n );\n}\n\n/**\n * Select content dropdown\n * Contains the list of selectable items\n */\nfunction SelectContent({\n className,\n children,\n position = \"popper\",\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n \n {children}\n \n \n \n \n );\n}\n\n/**\n * Select label for grouping items\n */\nfunction SelectLabel({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n );\n}\n\n/**\n * Select item - individual selectable option\n */\nfunction SelectItem({\n className,\n children,\n ...props\n}: React.ComponentProps) {\n return (\n \n {children}\n \n );\n}\n\n/**\n * Select separator line between groups\n */\nfunction SelectSeparator({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n );\n}\n\n/**\n * Scroll up button for long lists\n */\nfunction SelectScrollUpButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n );\n}\n\n/**\n * Scroll down button for long lists\n */\nfunction SelectScrollDownButton({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n \n \n );\n}\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n};\n" } ] }