Layout padding

Layout padding tokens for page-level containers and layout regions.

Padding tokens

Padding tokens define the internal spacing of components and layout regions. Like gap tokens, they scale responsively across breakpoints. Apply them with shorthand utilities such as sgds:p-component-md, sgds:px-component-sm, or sgds:py-layout-lg.

Layout padding

Padding for page-level containers and layout regions. Utility: sgds:p-layout-{size}.

CSS variableFigma tokenCSS variableMobile≥ 1024px≥ 1440pxUsage
--sgds-layout-padding-xs
16px20px24pxMinimal page-level inset for compact views
--sgds-layout-padding-sm
20px24px32pxDefault page margins on small screens
--sgds-layout-padding-md
Base
24px32px48pxStandard page inset padding
--sgds-layout-padding-lg
32px48px64pxGenerous page-level padding for spacious layouts
--sgds-layout-padding-xl
48px64px96pxMaximum page inset for wide, focused content areas

Singapore Government Design System

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