Spacing Tokens

Tokens that define the spacing used between content.

Spacing tokens define the spacing used between content.

TokenValueDescriptionPreview
--forge-spacing-xxxsmall2pxMinimal spacing for fine adjustments and hairline gaps.
--forge-spacing-xxsmall4pxVery small spacing for tight layouts, such as the gap between an icon and its label.
--forge-spacing-xsmall8pxSmall spacing for compact layouts, such as gaps between related items.
--forge-spacing-small12pxSmall to medium spacing for the internal padding and gaps of compact containers.
--forge-spacing-medium16pxStandard spacing and the most commonly used, for padding and gaps in most layouts.
--forge-spacing-medium-large20pxMedium to large spacing, between standard and generous.
--forge-spacing-large24pxLarge spacing for generous padding and separation between groups.
--forge-spacing-xlarge32pxExtra large spacing for separating sections and sizing roomy targets.
--forge-spacing-xxlarge48pxVery large spacing for major sections and large insets.
--forge-spacing-xxxlarge56pxMaximum spacing for page-level separation.

Type to search the docs.

NavigateSelectClose
Loading Forge chat…