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. 23 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 23 imports 4 functions

Entity Profile

Dependency Diagram

graph LR
  6a6af1c4_3fdf_13b4_2930_fe15824d5235["data-table.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  1f4e0e99_3948_1fb4_574c_ff0f6f7d7b20["core"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 1f4e0e99_3948_1fb4_574c_ff0f6f7d7b20
  dc6edd35_4917_9860_da9a_4e19a7caf815["modifiers"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> dc6edd35_4917_9860_da9a_4e19a7caf815
  f75ce303_4cce_899f_178f_a842466ac6fa["sortable"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> f75ce303_4cce_899f_178f_a842466ac6fa
  a746b3d7_9040_f941_c303_747dbd77f3e4["utilities"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> a746b3d7_9040_f941_c303_747dbd77f3e4
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  eff11612_0b61_f7f9_e13e_9117a7062bb3["react-table"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> eff11612_0b61_f7f9_e13e_9117a7062bb3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  e750d152_1191_1793_7244_99c7f9c595f4["sonner"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> e750d152_1191_1793_7244_99c7f9c595f4
  6802ce19_522d_e5fb_e458_8826d9f6952e["zod"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 6802ce19_522d_e5fb_e458_8826d9f6952e
  77b7a4f4_c577_8eb7_1c27_3fd006855618["use-mobile"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 77b7a4f4_c577_8eb7_1c27_3fd006855618
  4c79c55d_d834_3cdd_ce17_cc4f4eb47d55["badge"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 4c79c55d_d834_3cdd_ce17_cc4f4eb47d55
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> 57e86e45_ac6e_7278_be08_9092724e8401
  e0019705_b483_6a97_6d0d_de5680236add["chart"]
  6a6af1c4_3fdf_13b4_2930_fe15824d5235 --> e0019705_b483_6a97_6d0d_de5680236add
  style 6a6af1c4_3fdf_13b4_2930_fe15824d5235 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import {
  closestCenter,
  DndContext,
  KeyboardSensor,
  MouseSensor,
  TouchSensor,
  useSensor,
  useSensors,
  type DragEndEvent,
  type UniqueIdentifier,
} from "@dnd-kit/core"
import { restrictToVerticalAxis } from "@dnd-kit/modifiers"
import {
  arrayMove,
  SortableContext,
  useSortable,
  verticalListSortingStrategy,
} from "@dnd-kit/sortable"
import { CSS } from "@dnd-kit/utilities"
import {
  IconChevronDown,
  IconChevronLeft,
  IconChevronRight,
  IconChevronsLeft,
  IconChevronsRight,
  IconCircleCheckFilled,
  IconDotsVertical,
  IconGripVertical,
  IconLayoutColumns,
  IconLoader,
  IconPlus,
  IconTrendingUp,
} from "@tabler/icons-react"
import {
  flexRender,
  getCoreRowModel,
  getFacetedRowModel,
  getFacetedUniqueValues,
  getFilteredRowModel,
  getPaginationRowModel,
  getSortedRowModel,
  useReactTable,
  type ColumnDef,
  type ColumnFiltersState,
  type Row,
  type SortingState,
  type VisibilityState,
} from "@tanstack/react-table"
import { Area, AreaChart, CartesianGrid, XAxis } from "recharts"
import { toast } from "sonner"
import { z } from "zod"

import { useIsMobile } from "@/registry/new-york-v4/hooks/use-mobile"
import { Badge } from "@/registry/new-york-v4/ui/badge"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
  ChartContainer,
// ... (748 more lines)

Subdomains

Dependencies

  • badge
  • button
  • chart
  • checkbox
  • core
  • drawer
  • dropdown-menu
  • icons-react
  • input
  • label
  • modifiers
  • react
  • react-table
  • recharts
  • select
  • separator
  • sonner
  • sortable
  • table
  • tabs
  • use-mobile
  • utilities
  • zod

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, ChartRegistry subdomain.
What functions are defined in data-table.tsx?
data-table.tsx defines 4 function(s): DataTable, DragHandle, DraggableRow, TableCellViewer.
What does data-table.tsx depend on?
data-table.tsx imports 23 module(s): badge, button, chart, checkbox, core, drawer, dropdown-menu, icons-react, and 15 more.
Where is data-table.tsx in the architecture?
data-table.tsx is located at apps/v4/registry/new-york-v4/blocks/dashboard-01/components/data-table.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/dashboard-01/components).

Analyze Your Own Codebase

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

Try Supermodel Free