Web only

Data table

sortable columns + built-in empty state · columns rows rowKey caption?

Data tableWeb only

Usage

Every list of records in a prototype. Right-align numbers; give each column a sortValue only when sorting it helps.

API

<DataTable columns={[{key,header,cell?,sortValue?,align?}]} rows rowKey caption? />

Get it

Already in every copy of the web kit:

import { DataTable } from '@/components/kit/data-table';

Details

Exports
DataTable
Packages
cn@^0.5.2, lucide-react@^1.52.0
Installs with
@halftone-web/empty-state, @halftone-web/table
Also searched as
table, grid, list

Agents: the whole registry is at /llms.txt.