Table
<gcds-table>
Also called: data table, data grid.
A table is a structured layout of related data in rows and columns.
-
GitHub -
Figma
Table component preview
Take a look at what tables do to see if they fit the problem you’re solving for.
Problems tables solve
Tables organize items with shared attributes into a structured format. They help turn raw data into clear information.
Use a table to:
- Help people scan and compare information across multiple records, like reviewing a metrics report or financial summary. Add sorting to let people reorganize data and surface patterns.
- Help people find specific information within a larger dataset, like looking up a tax rate or office location. Add filtering or sorting to let people narrow down results.
Note: On mobile, the table’s responsive layout removes columns. This makes the table better suited for finding specific information than for side-by-side comparison. If comparing across records is the primary task for mobile users, consider paring down the dataset.
Related components
Card for grouping small pieces of related information as a single unit.
Container for basic layouts with a set width.
Grid for positioning unstructured elements on a page using a responsive, flexible column layout.
List for presenting items that do not share multiple common attributes or are not meant for comparison.
Charts for visualizing data to reveal trends, patterns, or differences at a glance.
Help us improve
Have questions or a request? Give feedback on our contact form.
Something's wrong? Raise it through GitHub with an