Command() — ui Function Reference
Architecture documentation for the Command() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 51c6422c_16dc_51c1_f527_5f389da2dc75["Command()"] 28611210_7d61_d0c9_2117_f6f1cdf206c1["command.tsx"] 51c6422c_16dc_51c1_f527_5f389da2dc75 -->|defined in| 28611210_7d61_d0c9_2117_f6f1cdf206c1 style 51c6422c_16dc_51c1_f527_5f389da2dc75 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/command.tsx lines 20–34
function Command({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive>) {
return (
<CommandPrimitive
data-slot="command"
className={cn(
"cn-command flex size-full flex-col overflow-hidden",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Command() do?
Command() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/command.tsx.
Where is Command() defined?
Command() is defined in apps/v4/registry/bases/base/ui/command.tsx at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free