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

Relationship Graph

Source Code

apps/v4/examples/base/ui/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/base/ui/empty.tsx.
Where is EmptyContent() defined?
EmptyContent() is defined in apps/v4/examples/base/ui/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