@zedtech/zedkit-ui
Show a sortable, filterable, paginated data table
@zedtech/zedkit-ui — beta
beta
At a glance
- Who: Developers listing queryable records (deliveries, users, orders).
- What: Tables with sorting, filtering, pagination plus loading/error/empty states.
- Use when: For record lists over ~20 rows or needing search.
- Avoid when: For a handful of static rows — map a simple table instead.
- See also: Show key-value details and a live indicator
Preview
@zedtech/zedkit-ui — DataTable, DataTableProps, DataTableColumn, createDataTableColumns, Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, TableCaption
| bridge | eu |
| console | us |
| worker | eu |
Page 1 of 1
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { DataTable, createDataTableColumns } from "@zedtech/zedkit-ui";
const helper = createDataTableColumns<Item>();
const columns = [helper.accessor("name", { header: "Name" })];
<DataTable columns={columns} data={items} loading={isLoading}
error={error} pageSize={20} />Wraps: @tanstack/react-table
Props
Prop
Type