Responsive grid

A responsive grid allows a layout to change dynamically based on the size of the screen. This also guarantees consistent layouts across all products.

Responsive grid presets

SGDS have six main grid presets to consolidate margin and gutter adjustments across breakpoints.

GridScreen sizeColumnsGuttersOuter marginsContainer widthExtra small column320px to 511px4 columns flexed16px20px fixedAutoSmall column512px to 767px8 columns flexed16px24px fixedAutoMedium column768px to 1023px8 columns flexed24px28px fixedAutoLarge column1024px to 1279px12 columns fixed24pxAuto flexed888pxExtra large column1280px to 1439px12 columns fixed32pxAuto flexed1168px2 extra large column1440px and above12 columns fixed32pxAuto flexed1312px

Extra small column (320px to 511px)

Use for small screens like example mobile vertical.

Construction

  • 4 columns flexed
  • 16px gutters
  • 20px fixed margins
  • Auto container width

Small column (512px to 767px)

Use for medium screens like example mobile horizontal.

Construction

  • 8 columns flexed
  • 16px gutters
  • 24px fixed margins
  • Auto container width

Medium column (768px to 1023px)

Use for medium screens like example tablet vertical or small notebook.

Construction

  • 8 columns flexed
  • 24px gutters
  • 28px fixed margins
  • Auto container width

Large column (1024px to 1279px)

Use for large screens like tablet landscape layouts or notebooks.

Construction

  • 12 columns fixed
  • 24px gutters
  • Auto flexed margins
  • 888px container width

Extra large column (1280px to 1439px)

Use for extra large screens like desktop layouts.

Construction

  • 12 columns fixed
  • 32px gutters
  • Auto flexed margins
  • 1168px container width

2 extra large column (1440px and above)

Use for extra large screens like wide-screen monitors.

Construction

  • 12 columns fixed
  • 32px gutters
  • Auto flexed margins
  • 1312px container width

Responsive grid with sticky sidebar

A responsive grid with a sticky sidebar is a layout where the main content uses a flexible grid system, while the sidebar remains fixed within the viewport when scrolling.

On mobile devices, the sidebar is hidden or repositioned to prioritise content visibility and improve usability.

GridScreen sizeColumnsGuttersOuter marginsContainer widthSidebar widthMedium column768px to 1023px8 columns flexed16px56px fixedAuto72px collapsedLarge column1024px to 1279px12 columns fixed24pxAuto flexed840px72px collapsedExtra large column1280px to 1439px12 columns fixed24pxAuto flexed888px272px expanded2 extra large column1440px and above12 columns fixed32pxAuto flexed1024px272px expanded

Medium column (768px to 1023px)

Use for medium screens like tablet portrait layouts.

Construction

  • 8 columns flexed
  • 16px gutters
  • 56px fixed margins
  • Auto container width
  • 72px collapsed sidebar

Large column (1024px to 1279px)

Use for large screens like tablet landscape layouts or notebooks.

Construction

  • 12 columns fixed
  • 24px gutters
  • Auto flexed margins
  • 840px container width
  • 72px collapsed sidebar

Extra large column (1280px to 1439px)

Use for extra large screens like desktop or wide-screen monitor layouts.

Construction

  • 12 columns fixed
  • 24px gutters
  • Auto flexed margins
  • 888px container width
  • 272px expanded sidebar

2 extra large column (1440px and above)

Use for extra large screens like desktop or wide-screen monitor layouts.

Construction

  • 12 columns fixed
  • 32px gutters
  • Auto flexed margins
  • 1024px container width
  • 272px expanded sidebar

Singapore Government Design System

The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.