Current version 22.0.0

Table

import { Tg2TableComponent } from '@trademe/tangram';

This is a new component, it has not been finished by design. Do not use.

A component that applies Tangram table styles and handles horizontal overflow on small viewports.

Basic

Basic table
NameTypeDefaultDescription
tg2TableattributeApplies Tangram table styles

Row headers

Use th[scope="row"] for row header cells. These receive a distinct background and left-aligned text treatment.

Row headers example
Column AColumn BColumn C
Row 1ValueValueValue
Row 2ValueValueValue
Row 3ValueValueValue

Overflow

Wrap content by default

Overflow example
Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8Column 9Column 10Column 11Column 12
Row 1ValueValueValueValueValueValueValueValueValueValueValueValue
Row 2More content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a boxMore content in a box

Inputs

Inputs
NameTypeRequiredDescription
captionstringYes Accessible label for the table. Rendered as a visually hidden <caption> element.

Code example

Table example
NameTypeDescription
Row 1Type AA description of this row
Row 2Type BA description of this row
Proudly made by © 2026 Trade Me Limited