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 ChartRegistry 7 imports 8 functions

Entity Profile

Dependency Diagram

graph LR
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0["table-example.tsx"]
  da02b53a_0c1d_d1a1_af31_74d99f1cdd7a["example"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> da02b53a_0c1d_d1a1_af31_74d99f1cdd7a
  381135fe_5f7a_910a_b8a2_691e9756a016["button"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> 381135fe_5f7a_910a_b8a2_691e9756a016
  8001cb6e_41cc_4789_e2c4_6c9b6b1cc0bb["dropdown-menu"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> 8001cb6e_41cc_4789_e2c4_6c9b6b1cc0bb
  dc919c5d_820f_f2af_7ccd_a07763a51161["input"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> dc919c5d_820f_f2af_7ccd_a07763a51161
  dc7313e5_5b91_c49c_91e3_4429cae5628a["select"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> dc7313e5_5b91_c49c_91e3_4429cae5628a
  4f19d174_b0a9_de73_b0ea_f16375cf68a6["table"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> 4f19d174_b0a9_de73_b0ea_f16375cf68a6
  de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"]
  e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2
  style e1fb0b21_a5a7_9715_2fd0_46e69f3ec6d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Example,
  ExampleWrapper,
} from "@/registry/bases/radix/components/example"
import { Button } from "@/registry/bases/radix/ui/button"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/registry/bases/radix/ui/dropdown-menu"
import { Input } from "@/registry/bases/radix/ui/input"
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/registry/bases/radix/ui/select"
import {
  Table,
  TableBody,
  TableCaption,
  TableCell,
  TableFooter,
  TableHead,
  TableHeader,
  TableRow,
} from "@/registry/bases/radix/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",
  },
  {
    invoice: "INV005",
// ... (419 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, ChartRegistry 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/radix/examples/table-example.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/examples).

Analyze Your Own Codebase

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

Try Supermodel Free