Home / Function/ CommandList() — ui Function Reference

CommandList() — ui Function Reference

Architecture documentation for the CommandList() function in command.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  5417be28_2fb2_2d51_0369_570d870eeada["CommandList()"]
  28611210_7d61_d0c9_2117_f6f1cdf206c1["command.tsx"]
  5417be28_2fb2_2d51_0369_570d870eeada -->|defined in| 28611210_7d61_d0c9_2117_f6f1cdf206c1
  style 5417be28_2fb2_2d51_0369_570d870eeada fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/command.tsx lines 99–113

function CommandList({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.List>) {
  return (
    <CommandPrimitive.List
      data-slot="command-list"
      className={cn(
        "cn-command-list overflow-x-hidden overflow-y-auto",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandList() do?
CommandList() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/command.tsx.
Where is CommandList() defined?
CommandList() is defined in apps/v4/registry/bases/base/ui/command.tsx at line 99.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free