CommandDialog() — ui Function Reference
Architecture documentation for the CommandDialog() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 79c88102_ab68_2f2c_2859_c40dffcea102["CommandDialog()"] 9a692293_b172_5e5b_67c1_d72b69590388["command.tsx"] 79c88102_ab68_2f2c_2859_c40dffcea102 -->|defined in| 9a692293_b172_5e5b_67c1_d72b69590388 style 79c88102_ab68_2f2c_2859_c40dffcea102 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/command.tsx lines 26–36
const CommandDialog = ({ children, ...props }: DialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0">
<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/new-york/ui/command.tsx.
Where is CommandDialog() defined?
CommandDialog() is defined in deprecated/www/registry/new-york/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