SelectGroups() — ui Function Reference
Architecture documentation for the SelectGroups() function in select-groups.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4fd72668_f61e_ad1e_cbbc_1024ea9b693e["SelectGroups()"] 96ad15fd_42de_27f0_25e4_336a886c4a2d["select-groups.tsx"] 4fd72668_f61e_ad1e_cbbc_1024ea9b693e -->|defined in| 96ad15fd_42de_27f0_25e4_336a886c4a2d style 4fd72668_f61e_ad1e_cbbc_1024ea9b693e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/select-groups.tsx lines 12–35
export function SelectGroups() {
return (
<Select>
<SelectTrigger className="w-full max-w-48">
<SelectValue placeholder="Select a fruit" />
</SelectTrigger>
<SelectContent>
<SelectGroup>
<SelectLabel>Fruits</SelectLabel>
<SelectItem value="apple">Apple</SelectItem>
<SelectItem value="banana">Banana</SelectItem>
<SelectItem value="blueberry">Blueberry</SelectItem>
</SelectGroup>
<SelectSeparator />
<SelectGroup>
<SelectLabel>Vegetables</SelectLabel>
<SelectItem value="carrot">Carrot</SelectItem>
<SelectItem value="broccoli">Broccoli</SelectItem>
<SelectItem value="spinach">Spinach</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does SelectGroups() do?
SelectGroups() is a function in the ui codebase, defined in apps/v4/examples/radix/select-groups.tsx.
Where is SelectGroups() defined?
SelectGroups() is defined in apps/v4/examples/radix/select-groups.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free