How a table stacks
A table is a stack of bands, and every one of them has a slot: the title, the totals, the search, the selection bar, the rows, the pagination. This guide fixes that order and says why each band sits where it does. For the column budget a drawer table gets and how bulk selection behaves, see tables in drawers.
One order, every table. A band is optional — its position is not. A page table, a drawer table and a table on a card all stack the same way.
The stack
The Broadcasts table from DES-35, with every band in its slot. Add and remove the optional ones, and tick a row to make the selection bar appear.
Broadcasts
5| User | Sent at | Interest | |
|---|---|---|---|
| John Doe | 27 Sep 2026, 9:22 am | Interested | |
| Sally Jones | 27 Sep 2026, 9:22 am | Interested | |
| Jack Brown | 27 Sep 2026, 9:22 am | No response | |
| Alexzander Nader | 27 Sep 2026, 9:22 am | Declined | |
| Annamae Kohler | None | No response |
- 1Header
TableCardHeaderTitle, count bubble, supporting line, actions. - 2Alerts
TableAlertsoptionalBanners about what the table is showing. - 3Stats header
TableCardStatsoptionalNumbers that describe the whole table. - 4Search + filters
TableToolbarSearch and the Filter button, with applied pills on their own row under them. - 5Selection bar
SelectionBaroptionalBulk actions, the count, then Clear. Only while rows are ticked. - 6Column headers
TableHeadRowTh, or SortHeader where the column sorts. - 7Rows
tbody / NoItemsRowThe data, or the empty row. - 8Note band
TableCardNoteoptionalA default or setting the rows lean on. - 9Footer
TableFooterBarPagination, and nothing else.
Why that order
Four reasons, so the order survives contact with the next table.
- Totals go with the title.They describe the whole data set, so they belong beside the thing that names it — and they don't move when a filter is applied, which is what earns them a place above the search row.
- Filters go near the column headers. Once applied, they explain what the rows are, so they read with the rows rather than with the title.
- Bulk actions go where you ticked the boxes. The selection bar is the last band before the headers, so the distance between the checkbox column and the button acting on it stays as short as the layout allows.
- An alert comes before the numbers(FB, 2026-09-29). A banner saying something is missing from the table changes whether you can trust the totals under it, so it sits directly below the title rather than after them. Everything above the search row is then what you need before you read anything; everything below it describes the view you're looking at now.
Which band does a number go in?
First clear answer wins.
- The table's own row countThe header's count bubble
- Describes the whole set, doesn't narrow with filters, and is worth clicking to filter byStats header, as CountTiles
- Describes the whole set, read-only — Status, Total Support WorkersStats header, as NoteItems
- A count of the rows the filters leftThe footer's range — “1-10 of 24”
- How many ticked rows the filters are hidingThe selection bar's hiddenCount
- A default or setting the rows lean onA note band
The stats header
The band DES-35 added, and the one most likely to end up in the wrong slot.
- Below the search row, a total reads as a result of the filters. That's where production's Broadcasts table puts it, and it's what DES-35 fixes.
- Two shapes, and only two. Clickable
CountTileswhen each number is a filter (Policies, Compliance, batch invoices), or a flex row ofNoteItems when they're read-only. - White, not tinted. The tint marks bands you act in (the toolbar) or navigate with (the footer). This one is a read-out.
- The numbers never narrow with the search or the filters.A number that answers “what did my filter leave?” belongs in the footer's range.
- Budget: five tiles, or four totals. More than that is a card of its own above the table — the headline strips on the reports.
The clickable shape: each tile is a filter, and the counts describe the whole library rather than the current view.
The body and the footer
The part of the stack DES-35 didn't reach.
- Column order: the select-all checkbox first (
w-10), then the columns, then the kebab pinned to the right edge. - Where a status column goes:it leads a table you scan by state, and follows the name otherwise. Status comes first, after the checkbox, when the row has no strong name, as in invoice batches, draft batch charges and managed forms. It comes after the name when the row is a named thing and status is one of its attributes, as in policies, goals, form submissions, participants and staff. In a drawer the name always comes first. Status leads a drawer only when it's a queue rather than a picker.
- Density: page cells
px-4 py-3, drawer cellspx-4 py-2. Headers are muted, small, and never wrap. - Row click opens the record in a list, or ticks the checkbox in a picker — never both.
- Empty is a row, not a blank table.Pass the filtered flag and a way to clear when a search caused it; without them it says production's flat italic “No items.” Search the demo above for something that matches nothing.
- The footer holds pagination and nothing else. Totals go in the stats header, settings in a bottom note band.
- Its total is the filtered row count— not the page's rows, and not the unfiltered set — so the range agrees with the filters that produced it.
- One pagination, everywhere:production's right-aligned Items · range · chevrons. A wider “Showing 1 - 10 of 20” variant with labelled Previous and Next used to be offered for full-page lists and reports; it was dropped so no table has to make the choice (FB, 2026-09-29).
- No pagination in a drawer. A drawer table shows every row it has; if it needs paging it has outgrown the drawer.
Do / Don't
- Put the totals that describe the whole table directly under the title, above the search
- Keep the search and filters as close to the column headers as the optional bands allow
- Let the selection bar be the last band before the headers, so it lands by the checkboxes you just ticked
- Count the rows the filters left in the footer's range, not in a tile
- Give the stats band a read-out look — white, not the toolbar's tint
- Skip a band you have nothing honest to put in it
- Don't put the stats band under the search row, where its numbers read as a result of the filters
- Don't narrow the stats numbers with the active filters — that's the footer's job
- Don't put anything below the pagination footer; it's always the last band
- Don't hand-roll a band's div when the kit already exports it
- Don't invent a total just to fill the stats band
- Don't paginate in a drawer — a drawer table shows every row it has
Sources
The order is ours; the reasoning behind the bands is well-trodden ground.
- Nielsen Norman Group — Data Tables: Four Major User Tasks
- IBM Carbon — Data table usage (toolbar and batch actions)
- Atlassian Design — Dynamic table
- Material Design 3 — Data tables
Ruled by FB on DES-35. Agents get the same rules in condensed form: apps/next/docs/ux-guides/table-stacking-order.md — keep both in sync when the order changes.