Home / Function/ EmptyHeader() — ui Function Reference

EmptyHeader() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1fc7d7a7_9a09_f0bd_ddfe_74baeba19503["EmptyHeader()"]
  e96ab16a_1275_0daf_7119_6e4a06b1aec5["empty.tsx"]
  1fc7d7a7_9a09_f0bd_ddfe_74baeba19503 -->|defined in| e96ab16a_1275_0daf_7119_6e4a06b1aec5
  style 1fc7d7a7_9a09_f0bd_ddfe_74baeba19503 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/empty.tsx lines 17–25

function EmptyHeader({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="empty-header"
      className={cn("flex max-w-sm flex-col items-center gap-2", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does EmptyHeader() do?
EmptyHeader() is a function in the ui codebase, defined in apps/v4/examples/base/ui/empty.tsx.
Where is EmptyHeader() defined?
EmptyHeader() is defined in apps/v4/examples/base/ui/empty.tsx at line 17.

Analyze Your Own Codebase

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

Try Supermodel Free