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
  45fe5489_044a_d2a6_2552_19fa9fbb44ed["TableCell()"]
  fd5364b0_5727_db9e_ec18_30941483300d["table.tsx"]
  45fe5489_044a_d2a6_2552_19fa9fbb44ed -->|defined in| fd5364b0_5727_db9e_ec18_30941483300d
  style 45fe5489_044a_d2a6_2552_19fa9fbb44ed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/table.tsx lines 80–91

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",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free