{
"name": "ai-select",
"type": "registry:component",
"title": "AiSelect",
"description": "Select with AI, search, users, and tags icons",
"registryDependencies": [
"select"
],
"dependencies": [
"lucide-react"
],
"files": [
{
"path": "components/ai_select.tsx",
"type": "registry:component",
"content": "import { Search, AtSign, Hash, UserPen } from \"lucide-react\";\nimport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"./ui/select\";\n\n/**\n * Available select mode options\n */\ntype AiSelectValue =\n | \"ai\"\n | \"classic\"\n | \"users\"\n | \"userTopics\"\n | \"tags\"\n | \"community\";\n\n/**\n * AI icon SVG component\n */\nconst AiIcon = () => (\n \n);\n\n/**\n * AiSelect component\n * Select dropdown with icons for different search/filter modes\n * - AI: AI-powered search\n * - Classic: Standard search\n * - Users: Search by user\n * - UserTopics: Search by user topics\n * - Tags: Search by tags\n */\nconst AiSelect = ({\n value,\n onValueChange,\n}: {\n value: AiSelectValue;\n onValueChange: (value: AiSelectValue) => void;\n}) => {\n return (\n \n );\n};\n\nexport default AiSelect;\nexport { AiSelect, type AiSelectValue };\n"
}
]
}