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

Relationship Graph

Source Code

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