CommandDialog() — ui Function Reference
Architecture documentation for the CommandDialog() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 1a307297_900c_33c8_b67c_52cc671af215["CommandDialog()"] ba6c0424_1e33_efc2_5b1d_83fec08894aa["command.tsx"] 1a307297_900c_33c8_b67c_52cc671af215 -->|defined in| ba6c0424_1e33_efc2_5b1d_83fec08894aa style 1a307297_900c_33c8_b67c_52cc671af215 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/command.tsx lines 26–36
const CommandDialog = ({ children, ...props }: DialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">
<Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
{children}
</Command>
</DialogContent>
</Dialog>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CommandDialog() do?
CommandDialog() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/command.tsx.
Where is CommandDialog() defined?
CommandDialog() is defined in deprecated/www/registry/default/ui/command.tsx at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free