Table
Organizes information into rows and columns for easy readability. It accommodates various data types, including text, numbers, codes, call-to-action and links, enabling efficient presentation and comparison.
- Header: Title of the column, providing clear context for the data beneath.
- Expand column button: Initially hidden, this button appears when the user hovers over the entire column. Clicking it expands the column horizontally, revealing longer descriptions for better readability.
- Tooltip: Hover on this icon to show tooltips. Useful to explain the role of the table column.
- Sort column button: Initially hidden, this button appears on hover over the column. Clicking it toggles between ascending and descending order for easy data sorting.
- Cell for Text: Left-aligned by default
- Cell for Button: Contains action buttons aligned left, allowing users to take specific actions for each row.
- Cell for Status Pill: Displays a colour-coded status indicator (pill) aligned left, providing a quick visual reference for the status of each row
- Skeleton Loader: An animated placeholder element that mimics the layout of content while data is loading, giving users a visual cue that content is on the way. It improves the perceived loading time by reducing abrupt transitions.
Usage examples
- Cell with text aligned center: For visual balance, often used for headings or key information to draw attention.
- Cell with numbers aligned right: Aligns numerical data to the right for easy comparison and ensures decimal points line up, enhancing readability of financial or statistical information.
- Cell with row span: Occupies two rows or more vertically, consolidating related data and reducing redundancy. Useful for representing information relevant to multiple rows, improving table clarity.
Expand column
When expanded, keep header underlined and show collapse button.
Sort column
By default, first click sorts the column in descending order. Then, sort in ascending on next click.
When sorted, keep header underlined and show sort button.