Home / Function/ TableBasic() — ui Function Reference

TableBasic() — ui Function Reference

Architecture documentation for the TableBasic() function in table-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  090dbe4d_73c3_27b1_be06_50356a639d60["TableBasic()"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d["table-example.tsx"]
  090dbe4d_73c3_27b1_be06_50356a639d60 -->|defined in| da4411d1_9b3f_49d2_dd02_b8128eb4097d
  style 090dbe4d_73c3_27b1_be06_50356a639d60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/table-example.tsx lines 95–123

function TableBasic() {
  return (
    <Example title="Basic">
      <Table>
        <TableCaption>A list of your recent invoices.</TableCaption>
        <TableHeader>
          <TableRow>
            <TableHead className="w-[100px]">Invoice</TableHead>
            <TableHead>Status</TableHead>
            <TableHead>Method</TableHead>
            <TableHead className="text-right">Amount</TableHead>
          </TableRow>
        </TableHeader>
        <TableBody>
          {invoices.slice(0, 3).map((invoice) => (
            <TableRow key={invoice.invoice}>
              <TableCell className="font-medium">{invoice.invoice}</TableCell>
              <TableCell>{invoice.paymentStatus}</TableCell>
              <TableCell>{invoice.paymentMethod}</TableCell>
              <TableCell className="text-right">
                {invoice.totalAmount}
              </TableCell>
            </TableRow>
          ))}
        </TableBody>
      </Table>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does TableBasic() do?
TableBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/table-example.tsx.
Where is TableBasic() defined?
TableBasic() is defined in apps/v4/registry/bases/base/examples/table-example.tsx at line 95.

Analyze Your Own Codebase

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

Try Supermodel Free