Skip to Content
BlocksTables and records

Data Table

Tables for dashboards built on TanStack Table, with sorting, search, filters, row selection and pagination, a data grid your server pages, with saved views, bulk actions and filters written as a sentence, and a segment of people narrowed by conditions. A table wider than its card scrolls sideways.

Search, filters with counts, a column menu, page sizes, multi-column sorting and selected rows to export or email.

npx shadcn add @dashboardblocks/data-table-06

Customers

22 accounts, 12 of them paying $4,815 a month.

Customers: 22 accounts, 12 of them paying $4,815 a month.
Status
Harborbilling@harbor.appPast dueEnterprise  31 seats$1,395Sep 17, 2025
Wren & Cobilling@wren.coActiveTeam  32 seats$768Apr 26, 2024
Stackwisebilling@stackwise.ioActiveTeam  22 seats$528Dec 14, 2025
Sablebilling@sable.soActiveTeam  21 seats$504May 5, 2025
Verdantbilling@verdant.farmPast duePro  29 seats$348May 25, 2025
Fieldnotesbilling@fieldnotes.coActivePro  24 seats$288Apr 6, 2024
Tidewaterbilling@tidewater.coPast dueTeam  11 seats$264Jan 21, 2024
Brightpathbilling@brightpath.devActiveTeam  10 seats$240Jun 12, 2025

1–8 of 22

Sortable

A table you sort by any column, with a second click reversing the order.

npx shadcn add @dashboardblocks/data-table-01

Top pages

134,340 page views in the last 30 days; the top page, /, gets 46% of them.

Top pages: 134,340 page views in the last 30 days; the top page, /, gets 46% of them.
/18,42061,24038%1m 42s
/pricing9,31221,86029%2m 28s
/docs/getting-started7,84519,47022%4m 23s
/blog/launch-week5,1278,93061%1m 11s
/docs/components4,90612,31034%3m 04s
/changelog3,2846,12047%1m 35s
/signup2,9714,41018%0m 52s

Inline Bars

Revenue by product, with a bar scaled to the top product and each product's share of the total.

npx shadcn add @dashboardblocks/data-table-02

Revenue by product

$170,000 from 6 products in the last 30 days; Studio Display 27" brings in 29%.

Revenue by product: $170,000 from 6 products in the last 30 days; Studio Display 27" brings in 29%.
ProductUnitsRevenueShare
Studio Display 27"Displays112$48,92029%
Wireless headphonesAudio287$41,37024%
Ergonomic chairFurniture84$36,54021%
Mechanical keyboardAccessories179$21,48013%
USB-C dockAccessories144$12,9608%
Desk speakersAudio97$8,7305%

Campaign conversions and cost per conversion with their change, plus a 14-day sparkline.

npx shadcn add @dashboardblocks/data-table-03

Campaigns

1,400 conversions for $21,910 in the last 14 days, up 20% on the previous 14 days.

Campaigns: 1,400 conversions for $21,910 in the last 14 days, up 20% on the previous 14 days.
CampaignSpendConversionsCost per conversionConversions by day
Brand keywordsPaid search$7,420650Up 27% vs the previous 14 days$11.42Down 19.6% vs the previous 14 days
Autumn launchPaid social$9,860422Up 57.5% vs the previous 14 days$23.36Down 26.1% vs the previous 14 days
RetargetingDisplay$4,310161Down 33.2% vs the previous 14 days$26.77Up 41.6% vs the previous 14 days
Weekly newsletterEmail$320167Up 12.1% vs the previous 14 days$1.92Down 8.8% vs the previous 14 days

Status

Services with their status, latency and error rate, worst status first.

npx shadcn add @dashboardblocks/data-table-04

Services

2 of 6 services with issues; Webhooks is failing 12.6% of requests.

Services: 2 of 6 services with issues; Webhooks is failing 12.6% of requests.
Webhooksap-southeast-2Partial outage2,310 ms12.6%
Searcheu-west-1Degraded642 ms1.84%
Billingus-west-2Maintenance——
API gatewayus-east-1Operational118 ms0.02%
Authus-east-1Operational96 ms0.05%
Media uploadseu-central-1Operational184 ms0.11%

Pagination

Recent orders, five to a page.

npx shadcn add @dashboardblocks/data-table-05

Recent orders

18 orders in the last 7 days, $2,623.39 paid, 2 failed.

Recent orders: 18 orders in the last 7 days, $2,623.39 paid, 2 failed. Page 1 of 4.
CustomerOrderDateStatusAmount
Ava Thompsonava@northwind.io#4821Sep 25Paid$42.00
Ethan Brooksethan@quanta.ai#4820Sep 25Paid$115.49
Zoe Williamszoe@harbor.app#4819Sep 25Pending$188.98
Noah Patelnoah@fieldnotes.co#4818Sep 24Paid$261.00
Maya Chenmaya@loop.studio#4817Sep 24Refunded$334.49

1–5 of 18

Data Grid, Pro

Customers served a page at a time by your API, with search, filters with counts from the server, sorting and hidden columns.

Pro

Customers

Every account, the largest monthly revenue first.

Customers: Every account, the largest monthly revenue first.
StatusPlan
Loading

Data Grid Table, Pro

2,400 accounts with a sticky header, resizable columns and cells you edit in place, with the server's refusal shown on the cell.

Pro

Accounts

Every account, the largest monthly revenue first. Click a name, plan or seat count to change it.

Accounts: Every account, the largest monthly revenue first. Click a name, plan or seat count to change it.
EmailStatusPlan
Loading

Filter Builder, Pro

The customers of the Data Grid with a filter builder in place of the filter menus, each condition shown as a chip.

Pro

Customers

Every account, narrowed by any field: plan, MRR, sign-up date and more.

Customers: Every account, narrowed by any field: plan, MRR, sign-up date and more.
StatusPlan
Loading

Natural Language Filter, Pro

The Filter Builder's customers with a box that turns a sentence into filter chips, each flying in from the words it came from.

Pro

Customers

Say which accounts you want in a sentence, then check the filters it sets.

Customers: Say which accounts you want in a sentence, then check the filters it sets.
StatusPlan
Loading

Segment Builder, Pro

A product's people narrowed by a sentence to trial people who made 3 or more projects but never invited a teammate, with the people left after each condition.

Pro

People

Everyone who used Lumen. Describe a group or add conditions, then save it as a segment.

Loading

The people who match, most recently seen first
PersonPlanCountryLast seen
Loading

Saved Views, Pro

The Filter Builder's customers with saved views as tabs, each showing how many customers it holds, to save, save as new, rename or delete.

Pro

Customers

Each view is a set of filters and a sort your whole workspace can open.

Customers: Each view is a set of filters and a sort your whole workspace can open.
StatusPlan
Loading

Bulk Actions, Pro

The customers of the Data Grid with Archive and Export for the selected rows, an Undo toast and the rows the server refused kept selected.

Pro

Customers

Every account, the largest monthly revenue first. Select some to archive or export them.

Customers: Every account, the largest monthly revenue first. Select some to archive or export them.
StatusPlan
Loading

    On this page