Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA production data table with search (press / to focus), status filter chips with counts, three-state column sorting with aria-sort, row selection with an indeterminate select-all and a floating bulk action bar that springs in, drag-to-resize columns, a sticky frosted header inside a scroll area, pagination with page size, and a comfortable or compact density toggle. Cells render avatars, inline status pills, plan badges, usage meters and tabular numbers; loading shows shimmering skeleton rows and an empty result shows a friendly message. Columns and rows are fully configurable with custom render, sort and search functions, in bordered, striped or minimal styles, light or dark.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { DataTablePro } from "@/components/hyperblur-pro/data-table-pro"
<DataTable
rows={orders}
columns={[
{ key: "id", header: "Order", width: 120, sortable: true },
{ key: "total", header: "Total", align: "right", sortable: true },
]}
onSelectionChange={setSelected}
/>
<DataTablePro />| Prop | Type | Default | Description |
|---|---|---|---|
| rows | Row[] | DEMO_ROWS | Data rows. Each needs a unique id. |
| columns | ColumnDef[] | DEMO_COLUMNS | Column definitions: key, header, width, minWidth, sortable, align, render, sortValue, searchValue. |
| variant | "bordered" | "striped" | "minimal" | "bordered" | Visual style of rows and container. |
| density | "compact" | "comfortable" | "comfortable" | Starting row height. Users can toggle it in the toolbar. |
| pageSize | number | 10 | Rows per page to start with. |
| loading | boolean | false | Shows skeleton rows. |
| selectable | boolean | true | Adds checkboxes and the bulk action bar. |
| onSelectionChange | (ids: string[]) => void | undefined | Called with the selected row ids. |
| statusKey | string | "status" | Field used for the filter chips. |
| accent | string | "#4f6bff" | Highlight color. |
| appearance | "light" | "dark" | "light" | Surface colors. |
Source code is included in Pro and above