Text gap
Use for spacing between text elements and inline content. Utility: sgds:gap-text-{size}.
--sgds-text-gap-2-xs--sgds-text-gap-xs--sgds-text-gap-sm--sgds-text-gap-md--sgds-text-gap-lg--sgds-text-gap-xl--sgds-text-gap-2-xlText gap tokens for spacing between text elements and inline content.
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 text elements and inline content. Utility: sgds:gap-text-{size}.
--sgds-text-gap-2-xs--sgds-text-gap-xs--sgds-text-gap-sm--sgds-text-gap-md--sgds-text-gap-lg--sgds-text-gap-xl--sgds-text-gap-2-xlThe Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.