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

Relationship Graph

Source Code

apps/v4/examples/base/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/base/ui/table.tsx.
Where is TableRow() defined?
TableRow() is defined in apps/v4/examples/base/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