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

Layering Tokens

Tokens that define the order in which elements are stacked on top of each other.

Layering tokens define the order in which elements are stacked on top of each other.

This is implemented using the z-index CSS property.

It’s important to note that these values are not fixed and can be adjusted as needed. If you need to integrate Forge with a another library that uses different z-index values, you can override these tokens to match the other library’s values, and Forge will automatically adjust to use the new values across all components.

TokenValueDescription
--forge-z-index-surface1The base layer for surfaces that sit above page content, such as sticky headers and side panels.
--forge-z-index-header4The layer for page headers, above surfaces so that they stay visible while content scrolls.
--forge-z-index-backdrop7The layer for scrims behind modal content, above headers and surfaces.
--forge-z-index-dialog8The layer for modal content such as dialogs and modal panels, above the backdrop.
--forge-z-index-notification9The layer for notifications, above modal content.
--forge-z-index-popup10The layer for popups such as menus, popovers, and dropdowns, above modal content.
--forge-z-index-tooltip11The layer for tooltips, the highest layer so they are never obscured.
Loading Forge chat…