CommandInput() — ui Function Reference
Architecture documentation for the CommandInput() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD acd20637_9633_799d_d282_42cfd3e8f4b3["CommandInput()"] a88c7611_bf85_ef88_f0a5_89d7ec1501ca["command.tsx"] acd20637_9633_799d_d282_42cfd3e8f4b3 -->|defined in| a88c7611_bf85_ef88_f0a5_89d7ec1501ca style acd20637_9633_799d_d282_42cfd3e8f4b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/command.tsx lines 64–85
function CommandInput({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Input>) {
return (
<div data-slot="command-input-wrapper" className="p-1 pb-0">
<InputGroup className="bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!">
<CommandPrimitive.Input
data-slot="command-input"
className={cn(
"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
className
)}
{...props}
/>
<InputGroupAddon>
<SearchIcon className="size-4 shrink-0 opacity-50" />
</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/examples/radix/ui/command.tsx.
Where is CommandInput() defined?
CommandInput() is defined in apps/v4/examples/radix/ui/command.tsx at line 64.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free