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

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/command.tsx lines 90–104

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

Analyze Your Own Codebase

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

Try Supermodel Free