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

Relationship Graph

Source Code

apps/v4/examples/radix/ui/command.tsx lines 87–101

function CommandList({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.List>) {
  return (
    <CommandPrimitive.List
      data-slot="command-list"
      className={cn(
        "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandList() do?
CommandList() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/command.tsx.
Where is CommandList() defined?
CommandList() is defined in apps/v4/examples/radix/ui/command.tsx at line 87.

Analyze Your Own Codebase

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

Try Supermodel Free