Data Table
Table with sorting, filtering, pagination, column visibility and row selection on TanStack Table.
Install with the CLI
Copy the block into your project to own and change the code.
bunx @xerobi/ui-cli init
bunx @xerobi/ui-cli add data-table
Import from the package
Or use it as shipped, without copying.
import { ColumnDef, ColumnVisibilityState, DataGrid, PaginationState } from "@xerobi/ui/data-table"Files
- data-table/grid/data-grid.tsx
- data-table/grid/index.ts
- data-table/grid/types.ts
- data-table/index.ts
- data-table/table/index.ts
- data-table/table/table-empty-rows.tsx
- data-table/table/table-head-custom.tsx
- data-table/table/table-no-data.tsx
- data-table/table/table-pagination-custom.tsx
- data-table/table/table-selected-action.tsx
- data-table/table/table-skeleton.tsx
- data-table/table/utils.ts
- data-table/tanstack.ts