Home / Function/ TableRow() — ui Function Reference

TableRow() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1ad5968b_538d_4c16_16c8_5574e1377552["TableRow()"]
  19032a28_0dd6_2b6e_acb9_562ff38509a9["table.tsx"]
  1ad5968b_538d_4c16_16c8_5574e1377552 -->|defined in| 19032a28_0dd6_2b6e_acb9_562ff38509a9
  style 1ad5968b_538d_4c16_16c8_5574e1377552 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/table.tsx lines 54–65

function TableRow({ className, ...props }: React.ComponentProps<"tr">) {
  return (
    <tr
      data-slot="table-row"
      className={cn(
        "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free