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

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/command.tsx lines 104–115

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

Analyze Your Own Codebase

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

Try Supermodel Free