CommandManyItems() — ui Function Reference
Architecture documentation for the CommandManyItems() function in command-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 66d95ced_2a68_d7bf_af15_b8c348ac42c1["CommandManyItems()"] 05451646_c67d_fa9d_bea2_9a9342a11b2c["command-example.tsx"] 66d95ced_2a68_d7bf_af15_b8c348ac42c1 -->|defined in| 05451646_c67d_fa9d_bea2_9a9342a11b2c style 66d95ced_2a68_d7bf_af15_b8c348ac42c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/command-example.tsx lines 307–590
function CommandManyItems() {
const [open, setOpen] = React.useState(false)
return (
<Example title="Many Groups & Items">
<div className="flex flex-col gap-4">
<Button
onClick={() => setOpen(true)}
variant="outline"
className="w-fit"
>
Open Menu
</Button>
<CommandDialog open={open} onOpenChange={setOpen}>
<Command>
<CommandInput placeholder="Type a command or search..." />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
<CommandGroup heading="Navigation">
<CommandItem>
<IconPlaceholder
lucide="HomeIcon"
tabler="IconHome"
hugeicons="HomeIcon"
phosphor="HouseIcon"
remixicon="RiHomeLine"
/>
<span>Home</span>
<CommandShortcut>⌘H</CommandShortcut>
</CommandItem>
<CommandItem>
<IconPlaceholder
lucide="InboxIcon"
tabler="IconInbox"
hugeicons="InboxIcon"
phosphor="TrayIcon"
remixicon="RiInboxLine"
/>
<span>Inbox</span>
<CommandShortcut>⌘I</CommandShortcut>
</CommandItem>
<CommandItem>
<IconPlaceholder
lucide="FileTextIcon"
tabler="IconFileText"
hugeicons="File02Icon"
phosphor="FileTextIcon"
remixicon="RiFileTextLine"
/>
<span>Documents</span>
<CommandShortcut>⌘D</CommandShortcut>
</CommandItem>
<CommandItem>
<IconPlaceholder
lucide="FolderIcon"
tabler="IconFolder"
hugeicons="FolderIcon"
phosphor="FolderIcon"
remixicon="RiFolderLine"
/>
<span>Folders</span>
<CommandShortcut>⌘F</CommandShortcut>
</CommandItem>
</CommandGroup>
<CommandSeparator />
<CommandGroup heading="Actions">
<CommandItem>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
<span>New File</span>
<CommandShortcut>⌘N</CommandShortcut>
</CommandItem>
<CommandItem>
<IconPlaceholder
lucide="FolderPlusIcon"
tabler="IconFolderPlus"
Domain
Subdomains
Source
Frequently Asked Questions
What does CommandManyItems() do?
CommandManyItems() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/command-example.tsx.
Where is CommandManyItems() defined?
CommandManyItems() is defined in apps/v4/registry/bases/radix/examples/command-example.tsx at line 307.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free