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

Relationship Graph

Source Code

apps/v4/examples/base/ui/command.tsx lines 88–102

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

Analyze Your Own Codebase

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

Try Supermodel Free