ComboboxContent() — ui Function Reference
Architecture documentation for the ComboboxContent() function in combobox.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4cfdd516_c163_0cea_9db9_e86f46e6860e["ComboboxContent()"] 895497f8_f57f_b837_ebec_047e85efa44d["combobox.tsx"] 4cfdd516_c163_0cea_9db9_e86f46e6860e -->|defined in| 895497f8_f57f_b837_ebec_047e85efa44d style 4cfdd516_c163_0cea_9db9_e86f46e6860e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/combobox.tsx lines 101–136
function ComboboxContent({
className,
side = "bottom",
sideOffset = 6,
align = "start",
alignOffset = 0,
anchor,
...props
}: ComboboxPrimitive.Popup.Props &
Pick<
ComboboxPrimitive.Positioner.Props,
"side" | "align" | "sideOffset" | "alignOffset" | "anchor"
>) {
return (
<ComboboxPrimitive.Portal>
<ComboboxPrimitive.Positioner
side={side}
sideOffset={sideOffset}
align={align}
alignOffset={alignOffset}
anchor={anchor}
className="isolate z-50"
>
<ComboboxPrimitive.Popup
data-slot="combobox-content"
data-chips={!!anchor}
className={cn(
"cn-combobox-content cn-combobox-content-logical cn-menu-target group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)",
className
)}
{...props}
/>
</ComboboxPrimitive.Positioner>
</ComboboxPrimitive.Portal>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ComboboxContent() do?
ComboboxContent() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/combobox.tsx.
Where is ComboboxContent() defined?
ComboboxContent() is defined in apps/v4/registry/bases/base/ui/combobox.tsx at line 101.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free