Layout gap

Layout gap tokens for spacing between page sections and major layout regions.

Gap tokens

Gap tokens control spacing between flex and grid children. SGDS provides three semantic categories that scale responsively across breakpoints: text gap for typography, layout gap for page structure, and component gap for spacing inside components.

Layout gap

Use for spacing between page sections and major layout regions. Utility: sgds:gap-layout-{size}.

CSS variableFigma tokenCSS variableMobile≥ 1024px≥ 1440pxUsage
--sgds-layout-gap-2-xs
4px12px16pxMinimal separation between tightly related layout zones
--sgds-layout-gap-xs
8px16px20pxCompact layout regions, e.g. dense dashboards
--sgds-layout-gap-sm
12px20px24pxSmall section gaps in constrained layouts
--sgds-layout-gap-md
Base
16px24px32pxStandard gap between page sections or content areas
--sgds-layout-gap-lg
20px32px48pxLarge gaps between major page sections
--sgds-layout-gap-xl
24px48px64pxMaximum layout gap for hero or feature sections

Singapore Government Design System

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