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
  3ad9d142_a556_7ffd_2545_e334f82150b5["CommandList()"]
  22fc48d0_3cb2_ec62_5e39_bb16c64c048e["command.tsx"]
  3ad9d142_a556_7ffd_2545_e334f82150b5 -->|defined in| 22fc48d0_3cb2_ec62_5e39_bb16c64c048e
  style 3ad9d142_a556_7ffd_2545_e334f82150b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/command.tsx lines 98–112

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/radix/ui/command.tsx.
Where is CommandList() defined?
CommandList() is defined in apps/v4/registry/bases/radix/ui/command.tsx at line 98.

Analyze Your Own Codebase

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

Try Supermodel Free