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

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/command.tsx lines 106–117

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

Subdomains

Frequently Asked Questions

What does CommandEmpty() do?
CommandEmpty() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/command.tsx.
Where is CommandEmpty() defined?
CommandEmpty() is defined in apps/v4/examples/radix/ui-rtl/command.tsx at line 106.

Analyze Your Own Codebase

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

Try Supermodel Free