ComboboxInput() — ui Function Reference
Architecture documentation for the ComboboxInput() function in combobox.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 599db2f4_be1a_6a46_ff50_89405cb4d8cb["ComboboxInput()"] a0fd6b40_9461_a4b4_0670_97b6db49e709["combobox.tsx"] 599db2f4_be1a_6a46_ff50_89405cb4d8cb -->|defined in| a0fd6b40_9461_a4b4_0670_97b6db49e709 style 599db2f4_be1a_6a46_ff50_89405cb4d8cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/combobox.tsx lines 51–84
function ComboboxInput({
className,
children,
disabled = false,
showTrigger = true,
showClear = false,
...props
}: ComboboxPrimitive.Input.Props & {
showTrigger?: boolean
showClear?: boolean
}) {
return (
<InputGroup className={cn("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/examples/base/ui-rtl/combobox.tsx.
Where is ComboboxInput() defined?
ComboboxInput() is defined in apps/v4/examples/base/ui-rtl/combobox.tsx at line 51.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free