Dashboard Overview
The screen an app opens on: shell, header, KPI row, chart and activity feed — numbers first, shape second, changes last.
A table after real people have used it — columns reordered from the keyboard, a selection bar that asks page-or-all, subtotals that survive collapsing, cells edited in place, and the empty state its own filters produced.
app/records-table-page.tsxnpx hoverlab add records-table-page
Or over MCP, from your editor's agent — no account needed.
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
A table after it has been lived in — reordered, selected, grouped, edited, and filtered down to nothing.
Column order: Name, Status, Owner, Plan, Created
Showing 8 of 1,284 matching “active in the last year”
8 rows selected on this page
All 8 rows on this page are selected.
| Select the 8 rows on this page | Member | Plan | Last seen |
|---|---|---|---|
Ama Boateng ama@meridianfoods.com | Team | 2 minutes ago | |
Deniz Kaya deniz@halden.co | Pro | 1 hour ago | |
Rafael Ortiz rafael@northwind.dev | Free | 3 days ago | |
Yuki Tanaka yuki@brightloom.jp | Team | 6 days ago | |
Nadia Haddad nadia@cedarworks.io | Pro | 2 weeks ago | |
Tom Sørensen tom@fjordlabs.no | Free | 1 month ago | |
Priya Raman priya@sundara.in | Team | 1 month ago | |
Elise Marchand elise@atelier9.fr | Free | 3 months ago |
3 segments · 8 accounts
| Account | Owner | Seats | ARR |
|---|---|---|---|
| 516 | $619,200 | ||
| Acme Corp | R. Patel | 240 | $288,000 |
| Initech | S. Okafor | 180 | $216,000 |
| Umbrella | R. Patel | 96 | $115,200 |
| 105 | $100,800 | ||
| Globex | J. Lindqvist | 48 | $46,080 |
| Soylent | S. Okafor | 32 | $30,720 |
| Hooli | J. Lindqvist | 25 | $24,000 |
| 15 | $12,960 | ||
| All segmentsincluding collapsed | 636 | $732,960 | |
Click a seat count or price to edit it.
| Account | Plan | Seats | Monthly |
|---|---|---|---|
| Acme Corp | Studio | ||
| Globex | Pro | ||
| Initech | Studio | ||
| Umbrella | Team |
Enter commits a cell, Tab moves to the next, Escape leaves it. Nothing is written until you press Save.
| Expand | Customer | Plan | Status |
|---|---|---|---|
| Northwind Ltdops@northwind.com | Team | Active | |
| Contosobilling@contoso.io | Pro | Active | |
| Initechadmin@initech.dev | Pro | Trialing |
Nothing matched “renewal” with 4 filters applied. 1,284 records exist in total.
Studio · 40 seats
The real page, rendered in your current theme — every section below is a live block, not a screenshot.
Only want one section? Open it and copy that block instead — browse Data Tables.
/**
* The table screen, with the five things that happen to a table once real
* people use it.
*
* `customers-table-page` next door is a table that works. This is the one
* that has been lived in: columns someone rearranged, rows someone selected
* a thousand of, groups with subtotals, cells edited in place, and a filter
* set that returned nothing.
*
* The order follows a session rather than a taxonomy: shape the table,
* act on it, read it, edit it, then look at one row closely.
*
* column manager reordering that works from the keyboard, not only by
* drag — the accessibility failure most grids ship with
* bulk actions and the question most selection bars skip: this page,
* or all 1,284 rows the filter matched?
* grouped rows subtotals that survive collapsing, so a folded group
* still says something
* inline edit staged changes with the original kept beside the new
* expandable a row opened into a full-width panel
* empty what the same table looks like when the filters have
* excluded everything
*
* The empty state sits between the table and its filters on purpose. A list
* emptied by its own filters is the one empty state that must not offer
* "create your first record" — the records exist, the filters are hiding
* them — and putting it directly above <FilterDrawerFacets> makes the
* relationship the argument rather than a caption.
*
* <DrawerRecordDetail> is last because it is the one surface here that is
* not the table: a non-modal drawer keeps the list on screen, and its
* previous/next controls mean a person reviewing thirty records never
* returns to the grid at all.
*/
import * as React from 'react'
import { DataTableColumnManager } from '@/components/data-table-column-manager'
import { DataTableBulkActions } from '@/components/data-table-bulk-actions'
import { DataTableGroupedRows } from '@/components/data-table-grouped-rows'
import { DataTableInlineEdit } from '@/components/data-table-inline-edit'
import { DataTableExpandable } from '@/components/data-table-expandable'
import { EmptyFilteredResults } from '@/components/empty-filtered-results'
import { FilterDrawerFacets } from '@/components/filter-drawer-facets'
import { DrawerRecordDetail } from '@/components/drawer-record-detail'
export default function RecordsTablePage() {
return (
<main className="min-h-screen bg-background text-foreground">
<section className="mx-auto w-full max-w-6xl px-6 pb-2 pt-12">
<h1 className="text-2xl font-bold tracking-tight">Records</h1>
<p className="mt-1 text-sm text-muted-foreground">
A table after it has been lived in — reordered, selected, grouped,
edited, and filtered down to nothing.
</p>
</section>
<DataTableColumnManager />
<DataTableBulkActions />
<DataTableGroupedRows />
<DataTableInlineEdit />
<DataTableExpandable />
{/* Empty, then the filters that emptied it. */}
<EmptyFilteredResults />
<FilterDrawerFacets />
<DrawerRecordDetail />
</main>
)
}
components/ — each block page has its own copy button.app/records-table-page.tsx. The imports already point at @/components/…, so they resolve with no edits.The component, its props, the design tokens it expects and the command that installs it — as one prompt. Paste it into Claude, Cursor, v0 or ChatGPT and what they build around it will match the rest of the catalog instead of inventing its own system.
The screen an app opens on: shell, header, KPI row, chart and activity feed — numbers first, shape second, changes last.
An agent working inside a real app: a transcript down the middle — reasoning, answer, then the one card that can act — with what it may read and what it noticed demoted to a rail.
A kanban board inside the app shell, with tabs that admit the board is one view among several and a header whose primary action is creating work.
The canonical CRUD list — header, toolbar, sortable table and pagination framed as one panel instead of three stacked cards.
A wizard for the session someone finishes and a checklist for the one they do not, with the only genuinely blocking step in front of both.
Built around the state a search page is in most of the time — empty — so recent queries lead and the facets sit in a sidebar that survives growing to twelve.
One run opened up in the order you would debug it — intent, actions, the retries that are invisible in both, then cost.
The queue, the same queue sorted by how long things have waited, and the policy that decided both — with the policy last so it is not scrolled past forever.
The blank thread answered with real starter prompts, the model picker with the three numbers the choice turns on, and the four surfaces a session grows into — attachments, branches, canvas, threads.
The three states an agent screen usually omits: the wait before the first token, the trace after something broke with retries costed in the open, and the diff it wants a person to accept.
Why the answer said what it said: what is connected, how stale it is, what the query was allowed to see, what fitted in the window and what fell out — plus the failed-search state a debugging tool is most needed in.
Five ways to reach a model without the cursor leaving the sentence — slash menu, inline completion, selection toolbar, action menu, property inspector — and the two surfaces that say where the answer came from.
The saved view and the comparison window first, because every figure below depends on both — then six charts, none of which load a charting library.
Thresholds with how often each has actually fired, what that produced, where it went — and the digest settings that exist because of the answer.
The flow between an empty product and a useful one, in the order it goes wrong: sample data offered with equal weight, a file, a URL, the column mapping everything stalls on, and an upload that survives the connection dropping.
A profile form where the role options state what they actually change, the avatar crop works from the keyboard, and a navigation guard names the fields it is about to throw away.
The furniture that is on every screen and belongs to none — navbar, mobile drawer, command palette, shortcut sheet, header search, scope switcher, and the two shapes a detail view takes without losing the list.
Backwards from now and forwards from it on one screen — a day-grouped timeline, a month grid where a busy Tuesday never changes the row height, and the state both are in on day one.
What the product looks like while onboarding happens: a tour step anchored to the control it explains, the skeletons of the slowest load it will ever do, and the checklist that outlives both.