HomeGetting StartedColor SystemTypographySpacingIconographyLayoutInstallationUsageAngularBlazorReactSvelteVueThemingTypographyCustomizationCSS-Only ComponentsFormsIconsIllustrationsAccessibilityGlobal ConfigurationTailwind CSSSass LibraryForge MCP ServerDropdown OptionsFocus Indicator ClippingAll componentsButtonButton AreaChipFloating Action ButtonIcon ButtonSplit ButtonAutocompleteButton ToggleCalendarCheckboxChip FieldColor PickerDate PickerDate Range PickerFile PickerLabelRadioSelectSliderSwitchText FieldTime PickerApp BarApp LauncherDrawerMenuPaginatorSkip LinkStepperTabsView SwitcherAccordionApp LayoutCardDividerExpansion PanelScaffoldSplit ViewStackStructured CardToolbarBadgeBannerBusy IndicatorCircular ProgressDialogInline MessageLinear ProgressPage StateSkeletonToastTooltipAvatarIconKeyLabel ValueListMeterSecretTableTimelineTimestampTreeKeyboard ShortcutPopoverIntroductionColorTypographySpacingShapeBorderElevationLayeringAnimationUsageIcon LibraryBlocksRoadmapChangelogBlog

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.
Loading Forge chat…