ComboboxItem() — ui Function Reference
Architecture documentation for the ComboboxItem() function in combobox.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b203dffd_0051_914a_584c_2a62e8077256["ComboboxItem()"] fb6605c7_4550_6f63_97e7_de6776ed6521["combobox.tsx"] b203dffd_0051_914a_584c_2a62e8077256 -->|defined in| fb6605c7_4550_6f63_97e7_de6776ed6521 style b203dffd_0051_914a_584c_2a62e8077256 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/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 ps-1.5 pe-8 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 end-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-rtl/combobox.tsx.
Where is ComboboxItem() defined?
ComboboxItem() is defined in apps/v4/examples/radix/ui-rtl/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