Spacing

Apply a shared scale to gaps, padding, and margins. The steps describe relative size; assign values that fit your design rather than treating them as a prescribed numeric scale.

In use

.stack {
  display: grid;
  gap: var(--space-md);
}
.panel {
  padding: var(--space-lg);
}

These examples show how to consume the tokens. Assign values before using them.

--space-xs

coreType: dimension

Tightest spacing step.

Use for: icon gaps, dense stacks

Value: supplied by your design.

--space-sm

coreType: dimension

Small spacing step.

Value: supplied by your design.

--space-md

coreType: dimension

Default spacing step for common layout padding or gaps.

Value: supplied by your design.

--space-lg

coreType: dimension

Large spacing step for section padding.

Value: supplied by your design.

--space-xl

coreType: dimension

Extra-large spacing step.

Value: supplied by your design.

--space-xxl

coreType: dimension

Largest spacing step for major layout separation.

Value: supplied by your design.

← All tokens