Nexus DSdocs

SURFACE ATLAS

Every surface has a rung.

See how the opaque surfaces step away from the page, which ones share a color, and which components read them. Values follow your current appearance.

Surface ladder · light

Each surface is anchored to a rung measured from the page background. Surfaces on the same rung render the same color.

TokenValueLight anchorDark anchorShares its light rung with
backgroundoklch(1 0 0)basebasecontainerpopover
background-hoveroklch(0.9906 0.002 70)shade 50step 1.6No other surface
background-activeoklch(0.9517 0.002 70)shade 150step 1.6control-backgroundnav-item-hovernav-item-activenav-border
mutedoklch(0.9811 0.002 70)shade 75step 1.6container-hovernav-background
muted-extralightoklch(0.9924 0.002 70)step -0.216step 0.64No other surface
containeroklch(1 0 0)basestep 1.6backgroundpopover
container-hoveroklch(0.9811 0.002 70)shade 75step 3.2mutednav-background
container-activeoklch(0.9657 0.002 70)shade 100step 1.6popover-hoverpopover-activedisabled
popoveroklch(1 0 0)basestep 3.2backgroundcontainer
popover-hoveroklch(0.9657 0.002 70)shade 100step 4.8container-activepopover-activedisabled
popover-activeoklch(0.9657 0.002 70)shade 100step 3.2container-activepopover-hoverdisabled
control-backgroundoklch(0.9517 0.002 70)shade 150step 3.2background-activenav-item-hovernav-item-activenav-border
control-background-hoveroklch(0.9188 0.002 70)shade 200step 4.8No other surface
nav-backgroundoklch(0.9811 0.002 70)shade 75step 1.6mutedcontainer-hover
nav-item-hoveroklch(0.9517 0.002 70)shade 150step 3.2background-activecontrol-backgroundnav-item-activenav-border
nav-item-activeoklch(0.9517 0.002 70)shade 150step 3.2background-activecontrol-backgroundnav-item-hovernav-border
nav-borderoklch(0.9517 0.002 70)shade 150step 3.2background-activecontrol-backgroundnav-item-hovernav-item-active
disabledoklch(0.9657 0.002 70)shade 100step 1.6container-activepopover-hoverpopover-active
border-focusoklch(0.7876 0.002 70)shade 400step 9.68No other surface

Component tokens

The semantic colors each component part reads, with the stories that show those states.

14 of 14 component parts

ComponentPartStatesTokensSourceStories
CardRootRestcontainercontainer-foregroundborder-defaultpackages/react/src/components/card/card.tsxDefault, AllVariants
ButtonPrimary variantRest, hover, active, disabledprimary-backgroundprimary-background-hoverprimary-background-activeprimary-foregroundprimary-disabledpackages/react/src/components/button/button.tsxPrimary, Disabled, VariantClassesMatchFigmaTokens
ButtonOutline and dashed variantsRest, hover, active, disabledcontainercontainer-hovercontainer-activeforegroundborder-defaultborder-disabledsecondary-disableddisableddisabled-foregroundpackages/react/src/components/button/button.tsxOutline, Dashed
InputBordered fieldRest, hover, focus, invalid, disabledcontainercontainer-hoverforegroundmuted-foregroundborder-defaultborder-disablederror-borderfocus-defaultfocus-errordisableddisabled-foregroundpackages/react/src/components/input/input.tsxVisualStateTokens, Invalid, Disabled
InputBorderless fieldRest, hovercontrol-backgroundcontrol-background-hoverforegroundpackages/react/src/components/input/input.tsxBorderlessStates, BorderlessSurfaceComparison
InputGroupGroup frameRest, hover, focus, invalid, disabledcontainercontainer-hovercontrol-backgroundcontrol-background-hoverborder-defaultborder-disablederror-borderfocus-defaultfocus-errordisableddisabled-foregroundpackages/react/src/components/input-group/input-group.tsxVisualStateTokens, BorderlessHoverSurface, Invalid
TableRows and headerHover, selected, sticky header, striped rowsbackground-hovercontrol-backgroundcontrol-background-hovercontainermutedmuted-foregroundborder-default-alphafocus-defaultpackages/react/src/components/table/table.tsxSelectableRows, Striped, StickyHeader
DropdownMenuContent and item rowsOpen, focus, destructive, separatorpopover-alphapopover-hoverpopover-foregroundborder-defaulterror-subtle-foregrounderror-backgrounderror-foregroundborder-default-alphamuted-foregroundpackages/react/src/components/dropdown-menu/dropdown-menu.tsxKeyboardInteraction, WithDestructiveItem
SelectTrigger and item rowsRest, hover, focus, invalid, disabled, checked itemcontainercontainer-hovercontrol-backgroundcontrol-background-hovermuted-foregroundpopover-alphapopover-hoverpopover-foregroundborder-defaultborder-disablederror-borderfocus-defaultfocus-errordisableddisabled-foregroundpackages/react/src/components/select/select.tsxAllVariants, KeyboardInteraction, InvalidTrigger, Disabled
PopoverFloating contentOpenpopover-alphapopover-foregroundborder-defaultpackages/react/src/components/popover/popover.tsxDefault, Placements
NavigationMenuTrigger and flyoutRest, hover, openbackgroundbackground-hoverforegroundfocus-defaultpopover-alphapopover-hoverpopover-foregroundborder-defaultpackages/react/src/components/navigation-menu/navigation-menu.tsxDefault, WithoutViewport
MenubarBar, trigger, floating menuRest, focus, open, destructivecontainercontainer-hoverforegroundborder-defaultpopover-alphapopover-hoverpopover-foregrounderror-subtle-foregrounderror-backgrounderror-foregroundpackages/react/src/components/menubar/menubar.tsxKeyboardInteraction, WithSubMenu, AllVariants
SidebarRail and menu buttonsRest, hover, active, opennav-backgroundnav-foregroundnav-muted-foregroundnav-item-hovernav-item-activenav-borderfocus-defaultpackages/react/src/components/sidebar/sidebar.tsxDefault, InteractiveControls, StylingContracts
CommandDialog content and command itemRest, selected, separatorpopoverpopover-hoverpopover-foregroundborder-defaultborder-focusborder-default-alphamuted-foregroundpackages/react/src/components/command/command.tsxWithDialog, KeyboardInteraction