Tables

The plain table, with the modifiers for density and stickiness.

2 examples

How to use it

Copy any example below and paste it in
Classes
.table inside a .table-wrap, which is what makes it scroll instead of overflowing.
Modifiers
.table-striped, .table-compact, .table-sticky for a stuck header.
Cells
.cell-num right-aligns and uses tabular figures; .cell-truncate clips a long value.
Status
A status cell holds a .pill with a word in it, never a bare colour.

Striped, with status pills

Invoice Account Amount Status
INV-4825 Lanternfish Co $9,640 Paid
INV-4823 Harbour Logistics $12,900 Pending
INV-4824 Quarry Media $3,180 Overdue

Compact, with a sticky header

Scroll the panel to see the header stay.

RepTerritoryBookings
Marco BreilNorth$312,000
Yuki AbeSouth$248,000
Petra VanceEast$186,000
Idris FalkWest$142,000
Nora ChenExport$60,000
Tobias ReedNorth$54,000