command-demo.tsx — ui Source File
Architecture documentation for command-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 815cedc0_9397_1b2f_6c2a_874c6e215a02["command-demo.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 815cedc0_9397_1b2f_6c2a_874c6e215a02 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 546c6954_c407_41fc_2cb8_f5db98d487e2["command"] 815cedc0_9397_1b2f_6c2a_874c6e215a02 --> 546c6954_c407_41fc_2cb8_f5db98d487e2 style 815cedc0_9397_1b2f_6c2a_874c6e215a02 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Calculator,
Calendar,
CreditCard,
Settings,
Smile,
User,
} from "lucide-react"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
CommandSeparator,
CommandShortcut,
} from "@/registry/default/ui/command"
export function CommandDemo() {
return (
<Command className="rounded-lg border shadow-md md:min-w-[450px]">
<CommandInput placeholder="Type a command or search..." />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
<CommandGroup heading="Suggestions">
<CommandItem>
<Calendar />
<span>Calendar</span>
</CommandItem>
<CommandItem>
<Smile />
<span>Search Emoji</span>
</CommandItem>
<CommandItem disabled>
<Calculator />
<span>Calculator</span>
</CommandItem>
</CommandGroup>
<CommandSeparator />
<CommandGroup heading="Settings">
<CommandItem>
<User />
<span>Profile</span>
<CommandShortcut>⌘P</CommandShortcut>
</CommandItem>
<CommandItem>
<CreditCard />
<span>Billing</span>
<CommandShortcut>⌘B</CommandShortcut>
</CommandItem>
<CommandItem>
<Settings />
<span>Settings</span>
<CommandShortcut>⌘S</CommandShortcut>
</CommandItem>
</CommandGroup>
</CommandList>
</Command>
)
}
Domain
Subdomains
Functions
Dependencies
- command
- lucide-react
Source
Frequently Asked Questions
What does command-demo.tsx do?
command-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in command-demo.tsx?
command-demo.tsx defines 1 function(s): CommandDemo.
What does command-demo.tsx depend on?
command-demo.tsx imports 2 module(s): command, lucide-react.
Where is command-demo.tsx in the architecture?
command-demo.tsx is located at deprecated/www/registry/default/internal/sink/components/command-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free