Compare data across rows
Tables are built for information that has a consistent structure across many entries — users can scan columns to compare values at a glance.
Tables are used to display collections of data in organised rows and columns.
Tables are built for information that has a consistent structure across many entries — users can scan columns to compare values at a glance.
When there are many attributes and many records, a table gives each one a fixed position — making even complex datasets navigable.
Tables can incorporate sorting, filtering, selection, and actions per row, turning a static display into an operational interface.
Table container
Header cells
Data cells
Tables present repeated values across rows and columns in a layout optimised for comparison and scanning.
Renders a bordered data table with column headers and data rows. Use when users need to compare multiple values across many records in a structured layout.
Component tokens are specific to each component. Use the table title as the prefix: padding-md under sgds/table means sgds/table/padding-md.
sgds/padding/mdsgds/padding/smsgds/border-color-emphasissgds/border-color-mutedsgds/border-width/0sgds/border-width/1sgds/font-weight/semiboldsgds/surface-raisedsgds/dimension/56Relevant columns and clear row content help users scan and compare results quickly.
Too many columns or repeated details make comparison slower and more error-prone.
TabShift+TabShare them with us on
Report it on GitHub
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.