Home / Function/ Table() — ui Function Reference

Table() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/table.tsx lines 7–20

function Table({ className, ...props }: React.ComponentProps<"table">) {
  return (
    <div
      data-slot="table-container"
      className="relative w-full overflow-x-auto"
    >
      <table
        data-slot="table"
        className={cn("w-full caption-bottom text-sm", className)}
        {...props}
      />
    </div>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free