edbnedbn/ui
ComponentsTablesStandards
GitHub stars
Explorer
    • Welcome
    • Changelog
    • License
    • Form
    • Data Table
    • Date Picker
    • Typeset
    • Alert
    • Aspect Ratio
    • Avatar
    • Badge
    • Breadcrumb
    • Button Group
    • Button
    • Card
    • Empty
    • Input
    • Item
    • Kbd
    • Label
    • Native Select
    • Separator
    • Skeleton
    • Spinner
    • Table
    • Textarea
    • Accordion
    • Checkbox
    • Collapsible
    • Field
    • Input Group
    • Input Otp
    • Progress
    • Radio Group
    • Slider
    • Switch
    • Tabs
    • Toggle Group
    • Toggle
    • Alert Dialog
    • Combobox
    • Command
    • Context Menu
    • Dialog
    • Drawer
    • Dropdown Menu
    • Hover Card
    • Menubar
    • Navigation Menu
    • Popover
    • Select
    • Sheet
    • Tooltip
    • Attachment
    • Bubble
    • Calendar
    • Carousel
    • Chart
    • Direction
    • Marker
    • Message Scroller
    • Message
    • Pagination
    • Questionnaire
    • Resizable
    • Scroll Area
    • Sidebar
    • Sonner
    • Toast

Composition recipe

Data Table

Use Table for static markup. For interactive application tables, install the source-owned TanStack Table v9 starters from the Tables Explorer.

Static table or TanStack starter?
Keep this composition for simple markup, or open the Tables Explorer for installable sorting, filtering, pagination, server, virtual, and advanced starters.

Building blocks

tablecheckboxdropdown-menupagination

Starting point

<Table>
  <TableHeader>
    <TableRow>
      <TableHead>Name</TableHead>
      <TableHead>Status</TableHead>
    </TableRow>
  </TableHeader>
  <TableBody>{rows.map((row) => (
    <TableRow key={row.id}>
      <TableCell>{row.name}</TableCell>
      <TableCell>{row.status}</TableCell>
    </TableRow>
  ))}</TableBody>
</Table>