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
  78c53a8e_0d59_9ebb_f881_29d998898ba0["EmptyContent()"]
  f2c0b098_fb28_b571_cab7_fd4018379e7f["empty.tsx"]
  78c53a8e_0d59_9ebb_f881_29d998898ba0 -->|defined in| f2c0b098_fb28_b571_cab7_fd4018379e7f
  style 78c53a8e_0d59_9ebb_f881_29d998898ba0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/empty.tsx lines 80–91

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

Subdomains

Frequently Asked Questions

What does EmptyContent() do?
EmptyContent() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/empty.tsx.
Where is EmptyContent() defined?
EmptyContent() is defined in apps/v4/examples/radix/ui-rtl/empty.tsx at line 80.

Analyze Your Own Codebase

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

Try Supermodel Free