Data table
Sortable, selectable table with sticky header, loading and empty states.
import { DataTable, sortRows } from "@/components/ui/data-table"
Columns are plain objects. Besides accessor, cell, sortable, align and mono, a column can set muted (quiet secondary data), filter (a control rendered in a filter row under the header) and footer (a totals cell). Pass rowTone to tint exception rows. Pair it with the ERP cells for money, stacked references and status text.
Complex controls live in menus so the table stays the visual focus. Stacked order cells, muted secondary columns, a flagged row and a totals footer.
For finance and procurement users who work in grids all day.
Emphasis is reserved for rows that need attention: low and out-of-stock items are tinted and counted in the tabs.
Tabular numerals, right alignment, signed variance and a totals row.
Packages: lucide-react.
Entropy UI components: skeleton, checkbox (installed automatically by the CLI).
0 selected
Filtered by each column independently
Tip Treat views as first-class UI: people revisit the same filters daily.