CommandInput() — ui Function Reference
Architecture documentation for the CommandInput() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4aed7d7b_401a_6ccb_6f21_595adf20ec8d["CommandInput()"] 22fc48d0_3cb2_ec62_5e39_bb16c64c048e["command.tsx"] 4aed7d7b_401a_6ccb_6f21_595adf20ec8d -->|defined in| 22fc48d0_3cb2_ec62_5e39_bb16c64c048e style 4aed7d7b_401a_6ccb_6f21_595adf20ec8d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/command.tsx lines 68–96
function CommandInput({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Input>) {
return (
<div data-slot="command-input-wrapper" className="cn-command-input-wrapper">
<InputGroup className="cn-command-input-group">
<CommandPrimitive.Input
data-slot="command-input"
className={cn(
"cn-command-input outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
className
)}
{...props}
/>
<InputGroupAddon>
<IconPlaceholder
lucide="SearchIcon"
tabler="IconSearch"
hugeicons="SearchIcon"
phosphor="MagnifyingGlassIcon"
remixicon="RiSearchLine"
className="cn-command-input-icon"
/>
</InputGroupAddon>
</InputGroup>
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does CommandInput() do?
CommandInput() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/command.tsx.
Where is CommandInput() defined?
CommandInput() is defined in apps/v4/registry/bases/radix/ui/command.tsx at line 68.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free