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

Relationship Graph

Source Code

apps/v4/examples/radix/ui/command.tsx lines 103–114

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

Analyze Your Own Codebase

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

Try Supermodel Free