ComboboxItem() — ui Function Reference
Architecture documentation for the ComboboxItem() function in combobox.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c91176c8_ee09_0e95_4be3_6039c7bd5e0b["ComboboxItem()"] 44e104c9_97a9_6987_d634_5e4ac9c29548["combobox.tsx"] c91176c8_ee09_0e95_4be3_6039c7bd5e0b -->|defined in| 44e104c9_97a9_6987_d634_5e4ac9c29548 style c91176c8_ee09_0e95_4be3_6039c7bd5e0b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/combobox.tsx lines 138–162
function ComboboxItem({
className,
children,
...props
}: ComboboxPrimitive.Item.Props) {
return (
<ComboboxPrimitive.Item
data-slot="combobox-item"
className={cn(
"data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
>
{children}
<ComboboxPrimitive.ItemIndicator
render={
<span className="pointer-events-none absolute right-2 flex size-4 items-center justify-center" />
}
>
<CheckIcon className="pointer-events-none" />
</ComboboxPrimitive.ItemIndicator>
</ComboboxPrimitive.Item>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ComboboxItem() do?
ComboboxItem() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/combobox.tsx.
Where is ComboboxItem() defined?
ComboboxItem() is defined in apps/v4/examples/radix/ui/combobox.tsx at line 138.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free