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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/empty.tsx lines 84–95

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

Subdomains

Frequently Asked Questions

What does EmptyContent() do?
EmptyContent() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/empty.tsx.
Where is EmptyContent() defined?
EmptyContent() is defined in apps/v4/registry/bases/radix/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