Spacing

Learn how to control the space between elements in Cerberus.

Spacing tokens can be used to determine the margin or padding of a element or group of elements. The spacing tokens are based on a 4px grid system.

Tokens can be used for any properties that are relative to spacing, such as margin, padding, gap, etc.

Values

TokenValueVisual
none0
xs0.25rem
sm0.5rem
md1rem
lg1.5rem
xl2rem
2xl3rem
3xl4rem
full31.25rem

On this page