Skip to content

Grove

Data Table

A table on a card with search, sortable columns, row selection, bulk actions and paging.

Live, interactive React component · light themeResponsive

About the Grove Data Table

The table of a list page (orders, customers, invoices) on one white card: a toolbar with a title, a search field and a slot for filters or an export button, sortable column headers, a checkbox column with select-all, and a footer with the range ("1–6 of 9") and previous and next buttons. It filters, sorts and pages the rows it is given, in the browser. Search looks through every column without regard to case and returns to the first page. A header click sorts ascending, a second descending, a third restores the given order; numbers sort as numbers, text in natural order ("Item 2" before "Item 10"). While rows are selected a bar replaces the toolbar with the count, your bulk actions and a clear button; select-all works on the page in view and shows a dash when only some of its rows are selected. A cell can be any node: give its plain value in values so it can be sorted and searched. The table scrolls sideways inside its own region when it is too wide, and hideBelow drops a column on small screens. Client component.

It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.