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
  4db95633_086e_ced8_8a63_537491442d20["CommandEmpty()"]
  22fc48d0_3cb2_ec62_5e39_bb16c64c048e["command.tsx"]
  4db95633_086e_ced8_8a63_537491442d20 -->|defined in| 22fc48d0_3cb2_ec62_5e39_bb16c64c048e
  style 4db95633_086e_ced8_8a63_537491442d20 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/command.tsx lines 114–125

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/radix/ui/command.tsx.
Where is CommandEmpty() defined?
CommandEmpty() is defined in apps/v4/registry/bases/radix/ui/command.tsx at line 114.

Analyze Your Own Codebase

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

Try Supermodel Free