ComboboxInput() — ui Function Reference
Architecture documentation for the ComboboxInput() function in combobox.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 15019452_e825_6670_0815_f5037c7747d8["ComboboxInput()"] 895497f8_f57f_b837_ebec_047e85efa44d["combobox.tsx"] 15019452_e825_6670_0815_f5037c7747d8 -->|defined in| 895497f8_f57f_b837_ebec_047e85efa44d style 15019452_e825_6670_0815_f5037c7747d8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/combobox.tsx lines 66–99
function ComboboxInput({
className,
children,
disabled = false,
showTrigger = true,
showClear = false,
...props
}: ComboboxPrimitive.Input.Props & {
showTrigger?: boolean
showClear?: boolean
}) {
return (
<InputGroup className={cn("cn-combobox-input w-auto", className)}>
<ComboboxPrimitive.Input
render={<InputGroupInput disabled={disabled} />}
{...props}
/>
<InputGroupAddon align="inline-end">
{showTrigger && (
<InputGroupButton
size="icon-xs"
variant="ghost"
render={<ComboboxTrigger />}
data-slot="input-group-button"
className="group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent"
disabled={disabled}
/>
)}
{showClear && <ComboboxClear disabled={disabled} />}
</InputGroupAddon>
{children}
</InputGroup>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ComboboxInput() do?
ComboboxInput() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/combobox.tsx.
Where is ComboboxInput() defined?
ComboboxInput() is defined in apps/v4/registry/bases/base/ui/combobox.tsx at line 66.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free