dta.gov.au

The .gov.au means it’s official

Australian government websites always use a .gov.au domain. Before sharing sensitive information online, make sure you’re on a .gov.au site by inspecting your browser’s address (or 'location') bar.

This site is secure.

The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Table

v0.2.1

Used to display tabular data.

Released

History
View changes
Install
npm i @gov.au/table
Tags
Requires
Contributors
  • Gary Broadbent avatar picture
  • Patrick De Young avatar picture
  • Trevor Brennan avatar picture
  • Alex Page avatar picture
  • Adam Zerella avatar picture
  • Dominik Wilkowski avatar picture
  • Raj Ghuman avatar picture

Striping alternate rows

For a data table with large amounts of rows, highlighting alternate rows helps increase readability and scanning speed. We've elected to highlight the bottom row using the nth-last-child(odd) selector to provide the table with visual completeness.

For tables that have fewer amount of rows, using the striped version of the table component can cause confusion because users may attribute meaning to the highlighted row.