Home / File/ table-example.tsx — ui Source File

table-example.tsx — ui Source File

Architecture documentation for table-example.tsx, a tsx file in the ui codebase. 7 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 7 imports 8 functions

Entity Profile

Dependency Diagram

graph LR
  da4411d1_9b3f_49d2_dd02_b8128eb4097d["table-example.tsx"]
  f56be340_a522_c6f7_dec3_5906873d14c8["example"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> f56be340_a522_c6f7_dec3_5906873d14c8
  7328fa0a_98b6_fe77_42fd_0d1582b24604["button"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> 7328fa0a_98b6_fe77_42fd_0d1582b24604
  ac307fe4_34c0_4667_089c_c9e7c15ca708["dropdown-menu"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> ac307fe4_34c0_4667_089c_c9e7c15ca708
  106d51d9_3961_e810_478c_8a9c54987d20["input"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> 106d51d9_3961_e810_478c_8a9c54987d20
  d80c6389_7118_33c6_94f6_8ae48c4d9f8b["select"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> d80c6389_7118_33c6_94f6_8ae48c4d9f8b
  b862a1f0_438f_a580_b148_3fd0fb4b8a95["table"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> b862a1f0_438f_a580_b148_3fd0fb4b8a95
  de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"]
  da4411d1_9b3f_49d2_dd02_b8128eb4097d --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2
  style da4411d1_9b3f_49d2_dd02_b8128eb4097d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import {
  Example,
  ExampleWrapper,
} from "@/registry/bases/base/components/example"
import { Button } from "@/registry/bases/base/ui/button"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/registry/bases/base/ui/dropdown-menu"
import { Input } from "@/registry/bases/base/ui/input"
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/registry/bases/base/ui/select"
import {
  Table,
  TableBody,
  TableCaption,
  TableCell,
  TableFooter,
  TableHead,
  TableHeader,
  TableRow,
} from "@/registry/bases/base/ui/table"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

const invoices = [
  {
    invoice: "INV001",
    paymentStatus: "Paid",
    totalAmount: "$250.00",
    paymentMethod: "Credit Card",
  },
  {
    invoice: "INV002",
    paymentStatus: "Pending",
    totalAmount: "$150.00",
    paymentMethod: "PayPal",
  },
  {
    invoice: "INV003",
    paymentStatus: "Unpaid",
    totalAmount: "$350.00",
    paymentMethod: "Bank Transfer",
  },
  {
    invoice: "INV004",
    paymentStatus: "Paid",
    totalAmount: "$450.00",
    paymentMethod: "Credit Card",
  },
// ... (425 more lines)

Subdomains

Dependencies

  • button
  • dropdown-menu
  • example
  • icon-placeholder
  • input
  • select
  • table

Frequently Asked Questions

What does table-example.tsx do?
table-example.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in table-example.tsx?
table-example.tsx defines 8 function(s): TableBasic, TableExample, TableSimple, TableWithActions, TableWithBadges, TableWithFooter, TableWithInput, TableWithSelect.
What does table-example.tsx depend on?
table-example.tsx imports 7 module(s): button, dropdown-menu, example, icon-placeholder, input, select, table.
Where is table-example.tsx in the architecture?
table-example.tsx is located at apps/v4/registry/bases/base/examples/table-example.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/examples).

Analyze Your Own Codebase

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

Try Supermodel Free