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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/command.tsx lines 85–99

function CommandList({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.List>) {
  return (
    <CommandPrimitive.List
      data-slot="command-list"
      className={cn(
        "max-h-[300px] scroll-py-1 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/new-york-v4/ui/command.tsx.
Where is CommandList() defined?
CommandList() is defined in apps/v4/registry/new-york-v4/ui/command.tsx at line 85.

Analyze Your Own Codebase

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

Try Supermodel Free