Home / Function/ CommandEmpty() — ui Function Reference

CommandEmpty() — ui Function Reference

Architecture documentation for the CommandEmpty() function in command.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  ca0b36c9_e4c1_d28e_d686_daacdff72cfe["CommandEmpty()"]
  28611210_7d61_d0c9_2117_f6f1cdf206c1["command.tsx"]
  ca0b36c9_e4c1_d28e_d686_daacdff72cfe -->|defined in| 28611210_7d61_d0c9_2117_f6f1cdf206c1
  style ca0b36c9_e4c1_d28e_d686_daacdff72cfe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/command.tsx lines 115–126

function CommandEmpty({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.Empty>) {
  return (
    <CommandPrimitive.Empty
      data-slot="command-empty"
      className={cn("cn-command-empty", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandEmpty() do?
CommandEmpty() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/command.tsx.
Where is CommandEmpty() defined?
CommandEmpty() is defined in apps/v4/registry/bases/base/ui/command.tsx at line 115.

Analyze Your Own Codebase

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

Try Supermodel Free