Design System v1.0

Table

A styled HTML table for tabular data.

Consumption by site

Header, body rows, a caption, and right-aligned numeric cells.

Consumption by site — last billing period.
SiteCommodityUsageCost
Toronto Distribution CenterElectricity1,284 MWh$182,940
Hamilton Manufacturing PlantGas94,500 m³$61,220
Mississauga Cold StorageElectricity612 MWh$88,010
Ottawa Head OfficeWater3,410 m³$9,740

Compact density

The `density="compact"` prop tightens row padding for dense, text-heavy datasets.

Consumption by site — compact density for dense datasets.
SiteCommodityUsageCost
Toronto Distribution CenterElectricity1,284 MWh$182,940
Hamilton Manufacturing PlantGas94,500 m³$61,220
Mississauga Cold StorageElectricity612 MWh$88,010
Ottawa Head OfficeWater3,410 m³$9,740
London Logistics HubElectricity744 MWh$102,530
Windsor AssemblyGas51,200 m³$33,180

API reference

A styled HTML table wrapped for horizontal overflow — header, body, optional footer, rows, cells, and a caption.

Anatomy
TableRoot table, wrapped in an overflow-x container.
TableHeaderThe thead grouping header rows.
TableBodyThe tbody grouping data rows.
TableFooterOptional tfoot for totals or summaries.
TableHeadA header cell (th).
TableRowA single row with hover and selected states.
TableCellA data cell (td).
TableCaptionA caption describing the table.

Command Palette

Search for a command to run...