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

data-table.tsx — ui Source File

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

File tsx ComponentRegistry UIPrimitives 9 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  27e07cae_0273_7c95_46fa_acf4a1f2e89e["data-table.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  eff11612_0b61_f7f9_e13e_9117a7062bb3["react-table"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> eff11612_0b61_f7f9_e13e_9117a7062bb3
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  95a7752f_4b97_5bde_5d7d_fca03536ac35["card"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> 95a7752f_4b97_5bde_5d7d_fca03536ac35
  fe882581_4266_6b26_b40f_462b3a19ebd0["checkbox"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> fe882581_4266_6b26_b40f_462b3a19ebd0
  194a9418_8170_2169_6f94_b2f555b74f26["dropdown-menu"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> 194a9418_8170_2169_6f94_b2f555b74f26
  2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107
  75f117f1_1566_774d_1371_84923ec7a945["table"]
  27e07cae_0273_7c95_46fa_acf4a1f2e89e --> 75f117f1_1566_774d_1371_84923ec7a945
  style 27e07cae_0273_7c95_46fa_acf4a1f2e89e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import {
  ColumnDef,
  ColumnFiltersState,
  SortingState,
  VisibilityState,
  flexRender,
  getCoreRowModel,
  getFilteredRowModel,
  getPaginationRowModel,
  getSortedRowModel,
  useReactTable,
} from "@tanstack/react-table"
import { ArrowUpDown, ChevronDown, MoreHorizontal } from "lucide-react"

import { Button } from "@/registry/new-york/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/registry/new-york/ui/card"
import { Checkbox } from "@/registry/new-york/ui/checkbox"
import {
  DropdownMenu,
  DropdownMenuCheckboxItem,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/registry/new-york/ui/dropdown-menu"
import { Input } from "@/registry/new-york/ui/input"
import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@/registry/new-york/ui/table"

const data: Payment[] = [
  {
    id: "m5gr84i9",
    amount: 316,
    status: "success",
    email: "ken99@example.com",
  },
  {
    id: "3u1reuv4",
    amount: 242,
    status: "success",
    email: "Abe45@example.com",
  },
  {
    id: "derv1ws0",
// ... (266 more lines)

Subdomains

Functions

Types

Dependencies

  • button
  • card
  • checkbox
  • dropdown-menu
  • input
  • lucide-react
  • react
  • react-table
  • table

Frequently Asked Questions

What does data-table.tsx do?
data-table.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 data-table.tsx?
data-table.tsx defines 1 function(s): CardsDataTable.
What does data-table.tsx depend on?
data-table.tsx imports 9 module(s): button, card, checkbox, dropdown-menu, input, lucide-react, react, react-table, and 1 more.
Where is data-table.tsx in the architecture?
data-table.tsx is located at deprecated/www/components/cards/data-table.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/components/cards).

Analyze Your Own Codebase

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

Try Supermodel Free