Home / Function/ Empty() — ui Function Reference

Empty() — ui Function Reference

Architecture documentation for the Empty() function in empty.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  7693db50_5d09_b2a0_0d38_1b510993e58b["Empty()"]
  2b82dca2_8d49_749d_c85a_887f62fef272["empty.tsx"]
  7693db50_5d09_b2a0_0d38_1b510993e58b -->|defined in| 2b82dca2_8d49_749d_c85a_887f62fef272
  style 7693db50_5d09_b2a0_0d38_1b510993e58b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/ui/empty.tsx lines 5–16

function Empty({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="empty"
      className={cn(
        "flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-lg border-dashed p-6 text-center md:p-12",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does Empty() do?
Empty() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/empty.tsx.
Where is Empty() defined?
Empty() is defined in deprecated/www/registry/default/ui/empty.tsx at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free