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
  c87cebb2_875a_d43a_cd02_ccc5cdbfb075["Empty()"]
  09ae1024_fb5e_c215_d082_a4509ccede95["empty.tsx"]
  c87cebb2_875a_d43a_cd02_ccc5cdbfb075 -->|defined in| 09ae1024_fb5e_c215_d082_a4509ccede95
  style c87cebb2_875a_d43a_cd02_ccc5cdbfb075 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/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/new-york/ui/empty.tsx.
Where is Empty() defined?
Empty() is defined in deprecated/www/registry/new-york/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