Component gap
Use for spacing between elements within a component. Utility: sgds:gap-component-{size}.
--sgds-component-gap-xs--sgds-component-gap-sm--sgds-component-gap-md--sgds-component-gap-lg--sgds-component-gap-xlComponent gap tokens for spacing between elements within a component.
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.
Use for spacing between elements within a component. Utility: sgds:gap-component-{size}.
--sgds-component-gap-xs--sgds-component-gap-sm--sgds-component-gap-md--sgds-component-gap-lg--sgds-component-gap-xlThe Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.