Skip to content
Slotted

Table

A native HTML table for records a reader compares across columns, with sorting, column filters, row selection, expandable rows, sticky edges and the loading and empty states around them.

Orders placed today
OrderCustomerWarehouseStatusTotal
SO-10421Alfreds FutterkisteRenoShipped$1,240.00
SO-10422Bon app'ColumbusProcessing$860.50
SO-10423Ernst HandelSavannahOn hold$3,410.25
SO-10424Folk och fä HBRenoDelivered$512.00
SO-10425QUICK-StopColumbusShipped$2,088.90

Installation

The packages are a 0.x beta on npm, and their public API changes between beta releases without deprecation. One line installs the binding and the default theme.

bash
pnpm add @slotted/react @slotted/theme @slotted/themes
tsx
import { Table, TableBody, TableCaption, TableCell, TableColumnActions,  TableColumnHeader, TableContent, TableDefaultsProvider, TableDetail,  TableEmpty, TableExpander, TableFooter, TableGroupRow, TableHead,  TableLoader, TableMark, TableRow, TableRowHeader, TableSelect,  TableSelectAll, TableSort, TableSummary } from '@slotted/react';

Table or data grid

A table is a document structure: every control inside it, a sort button, a checkbox or an expander, is its own Tab stop, and the arrow keys scroll the page or the table rather than move between cells. Use it for listings, reports and records that a reader reads and acts on row by row. Use the data grid when the reader moves between cells with the arrow keys, edits a spreadsheet of values, or the set runs to thousands of rows that need virtualization.

Variants

variant sets how much of the box the table draws. plain draws no frame and no rules, for a table inside a card that already draws one. ruled, the default, draws a rule between rows and none around the set. framed draws a border and a radius around the table and its footer, which is the form a listing screen takes.

Plain: inside a card that already draws the box
ShipmentCarrierCartons
SH-3301UPS Ground12
SH-3302FedEx Express3
SH-3303USPS Priority1
Ruled: the default, a rule between rows
ShipmentCarrierCartons
SH-3301UPS Ground12
SH-3302FedEx Express3
SH-3303USPS Priority1
Framed: the table is its own panel
ShipmentCarrierCartons
SH-3301UPS Ground12
SH-3302FedEx Express3
SH-3303USPS Priority1

Striped rows

striped tints every other row, which carries the eye across a wide row. Hover, selection and focus paint over the stripe, so a striped row that is selected still reads as selected.

SKUProductWarehouseOn handReserved
PRD-0412ChaiReno39042
PRD-0413ChangReno17012
PRD-0414Aniseed SyrupColumbus13070
PRD-0415Chef Anton's Cajun SeasoningSavannah5300
PRD-0416Grandma's Boysenberry SpreadColumbus12025
PRD-0417Northwoods Cranberry SauceReno6060

Alignment and numbers

numeric on a header and its cells aligns the column to the end and sets tabular figures, so amounts line up digit under digit. align places any other column at start, center or end; set it on the header and on each cell of the column.

CustomerRegionDueAmount
Alfreds FutterkisteEUOct 4$1,240.00
Great Lakes Food MarketNAOct 9$18,402.75
Hanari CarnesSAOct 12$86.40

Long text

text decides what a cell does with text longer than its column: wrap (the default) breaks it onto more lines, truncate cuts it with an ellipsis on one line, and nowrap keeps it on one line and widens the column. layout="fixed" gives every column the same share of the width instead of sizing columns by their content.

OrderNoteTracking
SO-10421Leave at the loading dock behind the warehouse; the front office closes at noon on Fridays.1Z999AA10123456784
SO-10422Customer asked for the invoice to be emailed to accounts payable rather than printed.1Z999AA10123456785

Sorting

Put a TableSort (slTableSort in Angular) in each header that sorts, and give the header a column. Pressing it moves through ascending, descending and back to unsorted. The table holds the sort state and reports it through onSortChange ([(sort)] in Angular); the rows are yours to sort, so the order matches whatever your query does.

SO-10424Folk och fä HB2026-09-30$512.00
SO-10422Bon app'2026-09-29$860.50
SO-10421Alfreds Futterkiste2026-09-28$1,240.00
SO-10423Ernst Handel2026-09-27$3,410.25

Column filters

A filter sits in the header of the column it filters, inside TableColumnActions. TableSetFilter lists the values the column holds, with the counts you supply; ticking values edits a draft, and only Apply reports the new filter, so one query runs for several changes. Escape or a press outside restores the filter the panel opened with. Past eight values the panel adds a search field. The table filters nothing itself: createFilterPredicate from @slotted/core/filter turns the reported filter into a test for your rows.

OrderCustomerWarehouseStatus
SO-10421Alfreds FutterkisteRenoShipped
SO-10422Bon app'ColumbusProcessing
SO-10423Ernst HandelSavannahOn hold
SO-10424Folk och fä HBRenoDelivered
SO-10425QUICK-StopColumbusShipped
SO-10426Hanari CarnesSavannahProcessing

Selecting rows

selectionMode="multiple" with TableSelectAll in the header and TableSelect in each row gives every row a checkbox. Hold Shift and press a second checkbox to select the rows between the two. A disabled row cannot be selected and stays out of what the header checkbox covers. The selection is the list of row values, reported through onValueChange ([(value)] in Angular).

InvoiceCustomerStatusAmount
INV-2041Alfreds FutterkisteOverdue$1,240.00
INV-2042Great Lakes Food MarketOverdue$18,402.75
INV-2043Hanari CarnesDraft$86.40
INV-2044Island TradingSent$2,310.00
INV-2045Lonesome Pine RestaurantSent$645.20
1 selected · $1,240.00

Choosing one row

selectionMode="single" draws a radio in each row instead of a checkbox, for a choice among records such as a shipping rate. Leave the header cell above the radios empty.

CarrierTransitPrice
UPS Ground3–5 days$18.40
FedEx 2Day2 days$31.15
USPS Priority1–3 days$24.90

Expandable rows

A TableExpander in a cell toggles the TableDetail row with the same value, which spans every column. The detail row is not rendered while it is closed. defaultExpanded opens rows on the first render; expanded with onExpandedChange ([(expanded)] in Angular) controls them.

ReturnOrderCustomerRefund
RMA-0811SO-10398Ernst Handel$214.50
Two cases of Chang arrived crushed. Carrier claim filed with UPS on Sep 24; refund issued to the original card.
RMA-0812SO-10402QUICK-Stop$58.00
RMA-0813SO-10407Hanari Carnes$1,120.00

Horizontal scroll

A table wider than its container scrolls inside its own region instead of widening the page. While it overflows, the region is named and takes a Tab stop, so a keyboard reader can scroll it with the arrow keys. sticky="start" on the first header and on each row header keeps the identifying column in view.

ShipmentOrderCustomerOriginDestinationCarrierShippedCost
SH-3301SO-10421Alfreds FutterkisteReno, NVBerlin, DEUPS WorldwideSep 28, 2026$412.80
SH-3302SO-10422Bon app'Columbus, OHMarseille, FRFedEx InternationalSep 29, 2026$288.15
SH-3303SO-10423Ernst HandelSavannah, GAGraz, ATDHL ExpressSep 29, 2026$506.40
SH-3304SO-10425QUICK-StopColumbus, OHCunewalde, DEUPS WorldwideSep 30, 2026$347.90

Sticky header and totals

stickyHeader keeps the header row in view while the rows scroll, and stickyFooter does the same for a TableSummary (tfoot) of totals. With a height on the scroll region, the header sticks to the table’s own scroller, which is the form a drawer or a dialog needs; stickyTo="page" sticks it to the page instead.

OrderCustomerWarehouseTotal
SO-10400Alfreds FutterkisteReno$180.00
SO-10401Bon app'Columbus$577.00
SO-10402Ernst HandelSavannah$974.00
SO-10403Folk och fä HBReno$1,371.00
SO-10404Hanari CarnesColumbus$1,768.00
SO-10405Island TradingSavannah$2,165.00
SO-10406QUICK-StopReno$2,562.00
SO-10407Wartian HerkkuColumbus$559.00
SO-10408Alfreds FutterkisteSavannah$956.00
SO-10409Bon app'Reno$1,353.00
SO-10410Ernst HandelColumbus$1,750.00
SO-10411Folk och fä HBSavannah$2,147.00
SO-10412Hanari CarnesReno$2,544.00
SO-10413Island TradingColumbus$541.00
SO-10414QUICK-StopSavannah$938.00
SO-10415Wartian HerkkuReno$1,335.00
SO-10416Alfreds FutterkisteColumbus$1,732.00
SO-10417Bon app'Savannah$2,129.00
SO-10418Ernst HandelReno$2,526.00
SO-10419Folk och fä HBColumbus$523.00
SO-10420Hanari CarnesSavannah$920.00
SO-10421Island TradingReno$1,317.00
SO-10422QUICK-StopColumbus$1,714.00
SO-10423Wartian HerkkuSavannah$2,111.00
SO-10424Alfreds FutterkisteReno$2,508.00
SO-10425Bon app'Columbus$505.00
SO-10426Ernst HandelSavannah$902.00
SO-10427Folk och fä HBReno$1,299.00
SO-10428Hanari CarnesColumbus$1,696.00
SO-10429Island TradingSavannah$2,093.00
30 orders$43,695.00

Pagination

TableFooter holds a bar under the table and inside its frame, where it does not scroll sideways with the columns. When the rows on screen are part of a larger set, totalRowCount on the content and rowIndex on each row tell assistive technology where the page sits in the whole.

InvoiceCustomerAmount
INV-2041Alfreds Futterkiste$120.00
INV-2042Bon app'$733.00
INV-2043Ernst Handel$1,346.00
INV-2044Folk och fä HB$1,959.00
INV-2045Hanari Carnes$2,572.00
1–5 of 23

First load

TableLoader draws skeleton rows in place of the body while the first rows load, so the page does not jump when they arrive. The skeleton rows are hidden from assistive technology.

Purchase orderSupplierExpectedValue

Refreshing

loading on a table that already shows rows dims the body and sets aria-busy, so every column keeps its width and the reader keeps their place while the new rows load. Press Refresh to see it.

Purchase orderSupplierExpectedValue
PO-7710Exotic LiquidsOct 3$4,120.00
PO-7711Tokyo TradersOct 6$2,875.50
PO-7712Pavlova, Ltd.Oct 8$9,310.00

Empty

TableEmpty is one cell that spans every column, in a row of its own: the React part writes the row, and Angular’s td[slTableEmpty] goes inside a tr. Put a result state in it: status="empty" for a set with nothing in it yet, status="no-results" for a set a filter emptied.

ReturnOrderCustomerRefund
No returns this week

Returns appear here as soon as a customer opens one from their order page.

Rich cells

A cell holds any content: a link to the record, an avatar beside a name, a status indicator. Put the link in the row header, so the record’s name is the link a reader follows.

AccountAccount managerERP syncBalance
Alfreds Futterkiste
NDNancy Davolio
In sync$1,240.00
Ernst Handel
AFAndrew Fuller
Delayed$3,410.25
QUICK-Stop
JLJanet Leverling
Failed$2,088.90

Editing in place

A control with variant="plain" and size="sm" takes the cell’s own padding and the row’s height, so a row does not grow when it becomes editable. Give each control a label that names its row, because the column header alone does not say which record it edits.

SKUProductCountedBin
PRD-0412Chai
PRD-0413Chang
PRD-0414Aniseed Syrup
PRD-0415Chef Anton's Cajun Seasoning

Recipe: orders list

A listing screen composes the parts above: sortable columns, a status filter that returns to the first page, row selection with a bulk action in the footer, and pagination over the filtered set.

Status
SO-10440Island TradingProcessing$1,767.00
SO-10439Hanari CarnesDelivered$1,034.00
SO-10438Folk och fä HBOn hold$301.00
SO-10437Ernst HandelShipped$3,668.00
SO-10436Bon app'Processing$2,935.00
SO-10435Alfreds FutterkisteProcessing$2,202.00
0 selected

Accessibility

KeyEffectFocus
Tabmoves to the next control the table holds: the scroll region while it overflows, then each sort button, selection checkbox, expander and consumer control in DOM orderthat control
Shift+Tabthe same, backwardsthe previous control
Enteractivates the focused button: sorts the column, or opens and closes a row's detailstays on the control
Spaceactivates the focused button; on a row's checkbox it changes that row's selectionstays on the control
Shift+Spaceon a row's checkbox, selects every row from the anchor to that onestays on the control
ArrowDownscrolls the region while it holds focusstays on the region
ArrowUpthe same, backwardsstays on the region
ArrowRightscrolls along the inline axis, mirrored in a right-to-left documentstays on the region
ArrowLeftthe mirror of ArrowRightstays on the region
PageDownscrolls the region by a viewstays on the region
PageUpscrolls the region back by a viewstays on the region
Homescrolls the region to its startstays on the region
Endscrolls the region to its endstays on the region
Enterapplies the draft and closes the panel, which is what a reader who has just typed a value expects and what AG Grid doesreturns to the filter trigger, which popover restores it to
  • The role is table and not grid, and the difference is the whole boundary with data-grid. The APG says a table "is not an interactive widget. Thus, its cells are not focusable or selectable", so every control inside is its own tab stop and the family binds no key. Column resizing, virtualisation, multi-column sort and row activation all need the grid pattern and are deferred to the family that has it.
  • Every role comes from the platform: table, thead, tbody, tfoot, tr, th and td already carry table, rowgroup, row, columnheader, rowheader and cell. The family writes none of them, and it writes no aria-labelledby either — a caption is the accessible name by the browser own rule, whether it is visible or visually hidden.
  • scope="col" on a column header and scope="row" on a row header are what make a screen reader repeat the column name and the record name in each cell. They are the two attributes §12 of the feature guide asks for by name.
  • aria-sort is written on the sorted header and removed from every other, because ARIA has no way to state a sort level and a second sorted column would be silent or a lie. The change is also announced politely with the column and the direction: a property that changes silently is a change no reader hears, and none of the six surveyed implementations says it.
  • A row is not selectable under this role, so it carries no aria-selected. The state is painted with data-selected and announced by the checkbox that owns it — the division list-item recorded — and the header checkbox states in its own name how many rows it covers.
  • aria-rowcount and aria-rowindex are written exactly when you state a total larger than the DOM, which is what the Grid and Table Properties practice requires: the pair exists to say the DOM is not the whole set. The practice warns that writing aria-rowindex on some rows and not others has devastating effects, so the family writes neither unless you state both.
  • The scroller becomes a region with a tab stop and a name only while the table overflows, measured rather than assumed. A wide table with no tab stop is unreachable without a pointer — a WCAG 2.2 level A failure — and a tab stop on a table that fits is one a reader presses for nothing.
  • The expander is the Disclosure pattern: a button with aria-expanded, and with aria-controls naming the detail row while it is open. A closed detail is not rendered at all, so nothing is announced that a reader cannot reach.
  • A selected row is said by its ground and its ink together, and by the checkbox mark. R1 of this repository forbids the rail two families reached for, and in the high-contrast scheme every tone ground is the page own white — so the mark is what survives, which is where WCAG 2.2 SC 1.4.1 puts the requirement.

API

Table

Props

sortTableSortDescriptor | null
The column the rows are ordered by. Present means you own it.
defaultSortTableSortDescriptor | nullDefault null
The order an uncontrolled table starts in, read once
valuereadonly string[]
The chosen rows. Present means you own the selection.
defaultValuereadonly string[]Default []
The rows an uncontrolled table starts with
expandedreadonly string[]
The rows whose detail is open. Present means you own it.
defaultExpandedreadonly string[]Default []
The details an uncontrolled table starts with
variant'plain' | 'ruled' | 'framed'Default ruled
How much of a frame the set is given
edges'inset' | 'flush'Default inset
Whether the first and the last column keep the cell inset on their outer side. flush lines a plain or ruled table up with the heading around it, leaving the theme’s --slotted-table-edge-inset (0 unless set); a framed table ignores it. Sticky and selection columns keep their own offsets
stripedbooleanDefault false
A tinted ground on every second record
guidesboolean | 'branch'Default true
A line per ancestor level beside the rows that name a parent, on the center of the expander one level up. branch draws a rail from the foot of the parent’s mark (TableMark, or the expander), a branch to each child and an elbow at the last, and keeps the marks of a level in one column
expanderRoom'auto' | 'always'Default auto
Under guides="branch", whether the marks of the top level keep the room of an expander before them. auto keeps it while a row of the table has one; always keeps it in a table where no row folds, so the marks of several tables, and of a table and its skeleton, stand in one column
stickyHeaderbooleanDefault false
Whether the header stays while the body scrolls
stickyFooterbooleanDefault false
Whether the summary rows stay while the body scrolls. It pins the tfoot and not the footer bar, which never scrolls.
stickyTo'scroll' | 'page'Default scroll
What the header stays inside: this table own scroller, or whatever scrolls outside it. page releases the scroller, so the table stops scrolling sideways in its frame.
optionsreadonly TableFilterOption[]Default []
On TableSetFilterThe values the column can be filtered to, each with an optional count of its own. With operand tags they are a datalist and the set a typed value must belong to; without them any value is admitted.
operand'list' | 'tags'Default list
On TableSetFilterHow the values are chosen: the search, the covering checkbox and the list, or tags-input holding the chosen values as chips. The descriptor is the same list either way.
presetsreadonly PickerPreset[]
On TableDateFilter, TableTimeFilter, TableDateTimeFilterThe application’s own ranges, each a label and a run, offered inside the range picker between draws. The descriptor still receives two ISO values.
granularity'hour' | 'minute' | 'second'Default minute
On TableTimeFilter, TableDateTimeFilterThe last unit the picker writes, and the precision the engine compares at: a minute-precision operand matches every second of its minute.
valueTextFilter | NumberFilter | DateFilter | TimeFilter | DateTimeFilter | BooleanFilter | SetFilter | nullDefault null
On Table*FilterThe descriptor the column is filtered by, typed as its own kind. Controlled when stated; defaultValue is the uncontrolled form, and onValueChange fires once, on Apply.
operatorsreadonly FilterOperator[]Default the kind own list
On Table*FilterNarrows what the chooser offers, in the order given. defaultOperator picks the one the panel opens on.
conditions1 | 2Default 2
On Table*FilterHow many conditions the panel offers. The second appears once the first is complete.
renderOperand(props: TableFilterOperandProps) => ReactNode
On Table*FilterReplaces the field the table would have drawn, and keeps the draft, the chooser, the join, the actions and the announcements.
searchThresholdnumberDefault 8
On TableSetFilterHow many values bring a search with them. searchable states it outright.
cellAlign'start' | 'center' | 'end'Default center
Where every cell content sits in a row as tall as its tallest cell. A cell states blockAlign to answer differently.
layout'auto' | 'fixed'Default auto
Whether the browser sizes the columns from their content or from what you state
selectionMode'none' | 'single' | 'multiple'Default none
How many records may be chosen at once
columnsnumberDefault 1
How many columns the spanning parts span
loadingbooleanDefault false
A refresh over rows already shown: aria-busy, and nothing moves
messagesPartial<TableMessages>
Words laid over the language in force, key by key: selection, expansion, sort and every word of the column filters
skeletonRowsnumberDefault 5
On TableLoaderHow many skeleton rows a first load draws
totalRowCountnumber
On TableContentThe size of the set behind a page, written as aria-rowcount
scrollLabelledBystring
On TableContentThe element that names the region instead, usually the caption
valuestring
On TableRowThe record key the selection and the expansion are held by
levelnumber
On TableRowHow deep the row sits under the rows that fold it, from 0. The first cell that is not the selection is indented by this many steps, and a cell without an expander keeps its box as space
parentstring
On TableRowThe value of the row whose expander folds this one. The row is not rendered while that row, or any row above it, is closed.
disabledbooleanDefault false
On TableRowA record the reader may not choose; it leaves the set the header covers
rowIndexnumber
On TableRowThe record position in the whole set, written as aria-rowindex
currentbooleanDefault false
On TableRowThe record open elsewhere on the page, a detail pane beside the table, written as aria-current
visuallyHiddenbooleanDefault false
On TableCaptionKeeps the caption as the accessible name of the table and draws nothing, for a table under a heading that already names it
mutedbooleanDefault false
On TableRowDraws the row in the muted ink, for a record that is no longer active; the row stays selectable and pressable
interactivebooleanDefault true with onAction
On TableRowPaints the row as a thing the pointer presses
onAction(event) => void
On TableRowA click anywhere in the row that lands on no control of its own; the first link or button in the row is the keyboard way in
endReactNode
On TableGroupRowWhat stands at the end of the band: the total or net of the group
columnstring
On TableColumnHeader, TableSortThe column key the sort descriptor names
align'start' | 'center' | 'end'Default start
On the three cell partsWhich edge the value stands on, resolved logically
numericbooleanDefault false
On the three cell partsTabular figures, and the end edge unless align says otherwise
blockAlign'start' | 'center' | 'end'Default center
On the three cell parts and both selection cellsWhere this cell content sits in its row, overriding the table own cellAlign
text'wrap' | 'truncate' | 'nowrap'Default wrap
On the three cell partsWhat a value longer than its column does
sticky'start' | 'end'Default start
On the three cell parts and both selection cellsWhich edge the column is pinned to while the table scrolls past it
stickybooleanDefault false
On TableGroupRowHolds the band under the header while its rows scroll past
stickyOffsetstringDefault 0
On the three cell parts and both selection cellsWhere the pinned column stops, as a CSS length. Two columns pinned to the same edge need the second to state how wide the first is — beside a selection column that is --slotted-table-selection-size, which is 3rem.
colSpannumber
On TableDetail, TableEmptyHow many columns the part spans, defaulting to the table own count

Events

NamePayloadWhen
onSortChange(value: TableSortDescriptor | null, request)The column and the direction the reader asked for, or null when the third press clears it. The request carries the reason — pointer, keyboard, clear or programmatic — and cancel().
onValueChange(value: readonly string[], request)The chosen rows, in the collection order rather than the order they were pressed. The reason is select for a range or a select-all, clear when the set is emptied, pointer otherwise.
onExpandedChange(value: readonly string[], request)The rows whose detail is open, after the press that opened or closed one.

Composition

render(props) => ReactNode
On Table, TableRow, TableSortSubstitutes the rendered element, keeping every data attribute
refRef<HTMLElement>
On every partReaches the element, and focus() with it
handleRefRefObject<TableHandle>
On TableContentscrollToRow(), overflowing() and refresh(): the three a prop cannot express
useTable()() => TableContextValue
On inside a TableThe sort, the selection and the words, for a part of your own
TableDefaultsProvidervariant | striped | stickyHeader | stickyFooter | stickyTo | layout | selectionMode | columns
On ApplicationSets those once for everything below it; a prop on the table still wins
scrollPropsComponentPropsWithRef<'div'>
On TableContentReaches the scroller: a height, a ref, a scroll listener of your own

Parts

PartElementRequiredPurpose
rootdivYesThe frame. It carries every axis, and it holds what must not move when the table is scrolled sideways: the border, the radius and the footer bar.
scrolldivYesThe scroller, and the element a sticky header resolves against. It becomes a named region with a tab stop only while the table overflows.
tabletableYesThe tabular structure itself, and the element the platform gives the role to. It carries aria-rowcount when the DOM holds a page of a larger set.
captioncaptionNoThe table name, and the accessible name whether it is read or hidden. The family writes no aria-labelledby restating what the browser already states.
headtheadNoThe header row group. It sticks to the scroller when stickyHeader is on.
bodytbodyYesThe rows. A table may hold more than one, which is how a set is grouped by section.
summarytfootNoThe column summaries, which is the HTML Standard own word for a tfoot: a total, a count, a unit. It is not the footer bar.
footerdivNoThe bar under the table and inside the frame, where a paged listing puts its control. It is a sibling of the scroller, so a table scrolled sideways does not take its pagination with it.
rowtrYesOne record. It carries data-selected and data-expanded for the stylesheet and data-value for the range and the select-all.
column-headerthNoA column name, scoped to its column. It carries aria-sort when it is the sorted one, and on no other header. A name its box cuts — text="truncate" on a column with no room — opens a hint with the whole of it, shown rather than read, because the header already states the words.
row-headerthNoThe cell that identifies the record, scoped to its row, which a screen reader repeats in each cell beside it.
celltdYesOne value, and the four axes a cell answers: align, numeric, text and sticky.
sortbuttonNoThe column name wrapped in a button, which is what the APG sortable example does. The whole header is the target.
column-actionsspanNoThe slot beside a column name for the controls it carries: a filter trigger, a column menu, a help hint. The family holds the place; the query is yours.
filterbuttonNoThe trigger the table draws in that slot, and everything behind it. It marks itself while the column is filtered and states what is applied in its own name.
filter-paneldivNoThe surface the trigger opens: the conditions, the join between them and the two actions. It edits a draft — nothing reaches you until Apply.
filter-conditiondivNoOne condition: an operator and the operands that operator takes. Two of them at most, and the second appears once the first is complete.
filter-operatordivNoThe chooser, which is the Select family. What it offers is the kind own list, narrowed by operators.
filter-operanddivNoThe field the operator asks for: none for is empty, one for a comparison, two for between. renderOperand replaces it and keeps everything else.
filter-joindivNoAnd or Or between two conditions, which is also the word between the ends of a range.
filter-searchdivNoThe field that narrows a set filter values, through the same locale collator Combobox filters with. It appears once there are searchThreshold values.
filter-listdivNoThe values, scrolling inside the panel rather than making the panel taller than the screen.
filter-optiondivNoOne value, its checkbox and its count. The first is the covering checkbox, which answers for exactly what the search left.
filter-emptypNoThe word shown when the search matches nothing, so the panel is never a blank box.
filter-actionsdivNoThe footer: Clear at the leading edge and Apply at the trailing one.
selectionth or tdNoThe cell holding the checkbox, in the header and in every row. The cell is this family and the chooser is Checkbox.
expanderbuttonNoOpens and closes one row detail. It carries aria-expanded, and aria-controls naming the detail row while that row is open. It is the APG Disclosure pattern, borrowed whole.
markspanNoA record’s leading mark: an avatar, a logo, an icon. One box per level, --slotted-table-mark-size and a step smaller at a child, which the steps of an avatar up to md measure. Under guides="branch" the rail of the children starts at its foot.
detailtrNoThe open row detail, one cell spanning every column. It is not rendered while it is closed.
group-rowtrNoThe band that opens a group of rows: a day of a ledger with its net at the end. One header cell spans every column, and sticky holds the band under the header while its rows scroll past.
group-headerthNoThe one cell of the band, scope="rowgroup", spanning the columns of the table. It names the rows of its own tbody, so a grouped listing writes one body per group.
group-contentdivNoThe line inside the band that sets the name at the start and the end content at the end.
group-startspanNoThe name of the group.
group-endspanNoThe end of the band, from the end prop: the total or net of the group, in tabular figures.
emptytdNoWhat is shown when there is nothing, spanning every column, in a row the part writes itself. It takes a ResultState, which already separates an empty set from a set a filter emptied.
loadertbodyNoThe skeleton rows of a first load: the table shape before its content. A refresh over rows already read is the other state and dims the body instead.

Theming

Each token is a CSS custom property: set it in a theme, or on any element to retune every table inside it.

Table tokens

TokenDefault
--slotted-table-border-colorvar(--slotted-border-subtle, ButtonBorder)
--slotted-table-border-color-strongvar(--slotted-border-strong, ButtonBorder)
--slotted-table-border-widthvar(--slotted-border-width-thin, 1px)
--slotted-table-branch-size1.25rem
--slotted-table-caption-surfacevar(--_head-surface)
--slotted-table-cell-padding-blockmax( var(--slotted-space-2, 0.25rem), calc((var(--_row-min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) )
--slotted-table-cell-padding-inlinevar(--slotted-control-padding-inline-md, 13px)
--slotted-table-colorvar(--slotted-text, CanvasText)
--slotted-table-color-mutedvar(--slotted-text-muted, GrayText)
--slotted-table-column-actions-sizecalc(var(--_pad-inline) + var(--slotted-target-min, 24px) + var(--_gap))
--slotted-table-control-radiusvar(--slotted-radius-sm, 4px)
--slotted-table-edge-inset0px
--slotted-table-font-familyvar(--slotted-control-font-family)
--slotted-table-font-sizevar(--slotted-control-font-size-md, 13px)
--slotted-table-gapvar(--slotted-control-gap-md, 8px)
--slotted-table-group-colorvar(--_text)
--slotted-table-group-sticky-offset0
--slotted-table-group-surfacevar(--_stripe)
--slotted-table-guide-colorcolor-mix(in oklab, var(--slotted-border-strong) 60%, var(--slotted-border-subtle))
--slotted-table-header-backdrop-filternone
--slotted-table-header-surfacecolor-mix(in oklab, var(--slotted-text, CanvasText) 8%, var(--_surface))
--slotted-table-header-surface-hovercolor-mix(in oklab, var(--slotted-text, CanvasText) 7%, var(--_head-surface))
--slotted-table-icon-sizevar(--slotted-control-icon-size-md, 16px)
--slotted-table-mark-child-size1.25rem
--slotted-table-mark-size1.5rem
--slotted-table-radiusvar(--slotted-radius-md, 6px)
--slotted-table-row-color-selectedvar(--slotted-tone-accent-text, CanvasText)
--slotted-table-row-min-block-sizevar(--slotted-control-height-md, 34px)
--slotted-table-row-surface-currentvar(--slotted-tone-secondary-subtle-active, ButtonFace)
--slotted-table-row-surface-hovervar(--slotted-tone-secondary-subtle-hover, ButtonFace)
--slotted-table-row-surface-selectedvar(--slotted-tone-accent-surface, Canvas)
--slotted-table-row-surface-selected-hovervar(--slotted-tone-accent-subtle-hover, ButtonFace)
--slotted-table-row-surface-stripecolor-mix(in oklab, var(--slotted-text, CanvasText) 5%, var(--_surface))
--slotted-table-selection-size3rem
--slotted-table-shadowvar(--slotted-shadow-xs, none)
--slotted-table-sticky-inset0
--slotted-table-sticky-offset0
--slotted-table-sticky-offset-end0
--slotted-table-sticky-surfacevar(--slotted-ground, var(--slotted-surface, Canvas))
--slotted-table-surfacevar(--slotted-ground, var(--slotted-surface, Canvas))
--slotted-table-tree-indentcalc(var(--slotted-target-min, 24px) / 2 + var(--slotted-space-4, 0.5rem))

Theme tokens it reads

TokenDefault
--slotted-border-strongSet per scheme by the theme
--slotted-border-subtleSet per scheme by the theme
--slotted-border-width-thin1px
--slotted-control-font-familyvar(--slotted-font-family-sans)
--slotted-control-font-size-mdcomfortable 13px · compact 12px · dense 12px
--slotted-control-gap-mdcomfortable 8px · compact 6px · dense 4px
--slotted-control-height-mdcomfortable 34px · compact 28px · dense 26px
--slotted-control-icon-size-mdcomfortable 16px · compact 14px · dense 13px
--slotted-control-padding-inline-mdcomfortable 13px · compact 10px · dense 8px
--slotted-control-transition-durationvar(--slotted-duration-short)
--slotted-control-transition-easingvar(--slotted-easing-standard)
--slotted-disabled-foregroundSet per scheme by the theme
--slotted-duration-short120ms
--slotted-easing-standardcubic-bezier(0.2, 0, 0, 1)
--slotted-focus-ring-colorSet per scheme by the theme
--slotted-focus-ring-offsetvar(--slotted-border-width-thick)
--slotted-focus-ring-widthvar(--slotted-border-width-thick)
--slotted-font-size-xs0.75rem
--slotted-font-weight-medium500
--slotted-font-weight-regular400
--slotted-font-weight-semibold600
--slotted-groundvar(--slotted-surface, Canvas)
--slotted-line-height-md1.5
--slotted-radius-md6px
--slotted-radius-sm4px
--slotted-shadow-xsSet per scheme by the theme
--slotted-space-10.125rem
--slotted-space-20.25rem
--slotted-space-40.5rem
--slotted-space-50.75rem
--slotted-space-92rem
--slotted-surfaceSet per scheme by the theme
--slotted-target-comfortable44px
--slotted-target-min24px
--slotted-textSet per scheme by the theme
--slotted-text-mutedSet per scheme by the theme
--slotted-tone-accent-subtle-hoverSet per scheme by the theme
--slotted-tone-accent-surfaceSet per scheme by the theme
--slotted-tone-accent-textSet per scheme by the theme
--slotted-tone-secondary-subtle-activeSet per scheme by the theme
--slotted-tone-secondary-subtle-hoverSet per scheme by the theme
--slotted-z-index-sticky100