Skip to main content

Spacing

Use spacing utility classes to set even horizontal or vertical margins between children. They ensure that the last child does not have a margin.

Usage

Spacing enums are defined numerically between 0.25em and 4em (following the same sliding scale as dimension enums), with the addition of the none enum.

Spacing - Horizontal

Compose horizontal spacing utility classes as:

spacing-h--[enum]

Spacing - Vertical

Compose vertical spacing utility classes as:

spacing-v--[enum]