SelectItem() — supabase Function Reference
Architecture documentation for the SelectItem() function in select.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD dd94d275_7228_e567_7f8b_f526fb40f45a["SelectItem()"] 6215f5f8_959b_0d27_9c02_ce5f395aab88["cn()"] dd94d275_7228_e567_7f8b_f526fb40f45a -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 style dd94d275_7228_e567_7f8b_f526fb40f45a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/components/ui/select.tsx lines 105–122
> = ({ children, className, ref, ...props }) => (
<SelectPrimitive.Item
className={cn(
'relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
className
)}
ref={ref}
{...props}
>
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<SelectPrimitive.ItemIndicator>
<Check className="h-4 w-4" />
</SelectPrimitive.ItemIndicator>
</span>
<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
</SelectPrimitive.Item>
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does SelectItem() do?
SelectItem() is a function in the supabase codebase.
What does SelectItem() call?
SelectItem() calls 1 function(s): cn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free