DATA DISPLAY
Table
Memphis-bordered table primitives. Wrap rows in semantic <thead> / <tbody> / <tfoot> sections via the matching components — the outer container handles overflow + borders.
Import
Live preview
| Number | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Card | €250 |
| INV002 | Pending | Bank transfer | €350 |
| INV003 | Failed | Card | €400 |
| Total | €1,000 | ||
Parts
Table sub-components
| Prop | Type | Default | Description |
|---|---|---|---|
| Table | wrapper | — | Outer scrolling container + Memphis border. |
| TableCaption | caption | — | Optional caption rendered below the table. |
| TableHeader | thead | — | Sticky-by-default header section. |
| TableBody | tbody | — | Main data rows. |
| TableFooter | tfoot | — | Bordered totals row. |
| TableHead | th | — | Column header cell — uppercase mono text. |
| TableRow | tr | — | Row with hover + selection states. |
| TableCell | td | — | Body cell — pad px-4 py-3 by default. |
Accessibility
- Always include
TableCaptionwhen the table conveys data — screen readers announce the caption as the table's name. - Each
TableHeadrenders a real<th>; for row-headers addscope="row". - For very large tables consider pairing with Pagination and a virtualised body.