Table

v1.1

Tables are used to organize and display data efficiently to provide users with insights and potential actions.

  • CSS
  • Marko
  • React
Stylized artwork for a table component.

Considerations

Organized

Tables are organized logically with clear hierarchy.

Intuitive

Tables are easy to use and behave as expected.

Interactive

Tables allow interaction and customization for greater control.

Anatomy

Properties

Cell types

Behavior

Sorting

A sorted data table has three states: Unsorted, Sorted-up, and Sorted-down. The icon indicates the current sorted state and is only shown if sorting is available.

Table showing unsorted table data set.

Unsorted (Sort)

Table showing sorted up table data set.

Sorted-up (Sort-up)

Table showing sorted down table data set.

Sorted-down (Sort-down)

Screen sizes

Orders page showing a filter bar with a data table underneath on a mobile device size screen. On the smaller screen size one and a half columns of data are visible.

Small

Seller dashboard orders page on a medium size screen showing a data table with filter bar on top.

Medium

Seller dashboard orders page on a large size screen showing a data table with filter bar on top and left hand tertiary navigation.

Large

Best practices

Specs

Data table with four columns and four rows of placeholder data showing specs: 24px for the header row, and 16px between selection checkboxes in the first row and the first column.