Home / Function/ EmptyContent() — ui Function Reference

EmptyContent() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  11a1a0f1_80c9_c460_cfb2_4276f8f43ed3["EmptyContent()"]
  09ae1024_fb5e_c215_d082_a4509ccede95["empty.tsx"]
  11a1a0f1_80c9_c460_cfb2_4276f8f43ed3 -->|defined in| 09ae1024_fb5e_c215_d082_a4509ccede95
  style 11a1a0f1_80c9_c460_cfb2_4276f8f43ed3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/empty.tsx lines 84–95

function EmptyContent({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="empty-content"
      className={cn(
        "flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does EmptyContent() do?
EmptyContent() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/empty.tsx.
Where is EmptyContent() defined?
EmptyContent() is defined in deprecated/www/registry/new-york/ui/empty.tsx at line 84.

Analyze Your Own Codebase

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

Try Supermodel Free