Home / Function/ TableHead() — ui Function Reference

TableHead() — ui Function Reference

Architecture documentation for the TableHead() function in table.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  6711a360_dd9a_6906_26d1_1ba61f741406["TableHead()"]
  978704ef_f952_0ae2_36e5_75c928b8ea4a["table.tsx"]
  6711a360_dd9a_6906_26d1_1ba61f741406 -->|defined in| 978704ef_f952_0ae2_36e5_75c928b8ea4a
  style 6711a360_dd9a_6906_26d1_1ba61f741406 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/table.tsx lines 68–79

function TableHead({ className, ...props }: React.ComponentProps<"th">) {
  return (
    <th
      data-slot="table-head"
      className={cn(
        "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does TableHead() do?
TableHead() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/table.tsx.
Where is TableHead() defined?
TableHead() is defined in apps/v4/registry/new-york-v4/ui/table.tsx at line 68.

Analyze Your Own Codebase

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

Try Supermodel Free