Current version 22.0.0

Tables

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

Tables can be used to clearly display data.

Example

Caption
HeaderHeader oneHeader two
Content headerColumn oneColumn two
Footer headerFooter oneFooter two

Behaviour

Long strings of text such as email addresses will break onto two lines when they exceed the width of the table cell.

Accessibility

  • Add a caption to provide a description of the table content.
  • Apply the scope attribute to row and column headers to aid customers navigating content using a screen reader.
  • When compact is applied, change the scope values accordingly to allow for the stacked layout at sm breakpoint.
Proudly made by © 2026 Trade Me Limited