Home / Function/ TableCell() — ui Function Reference

TableCell() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/table.tsx lines 81–92

function TableCell({ className, ...props }: React.ComponentProps<"td">) {
  return (
    <td
      data-slot="table-cell"
      className={cn(
        "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free