Manage Content

Scale

--space-1
4px
--space-2
8px
--space-3
12px
--space-4
16px
--space-5
20px
--space-6
24px
--space-8
32px
--space-10
40px

Nesting example

Card padding: --space-5 (20px)
Inner control padding: --space-3 (12px)

Usage rules

RuleDetail
Base unit4px. Every spacing token is a multiple of it.
Component paddingSmall controls (chips, badges) use --space-2/--space-3; buttons and inputs use --space-3/--space-4.
Section spacingRelated content groups use --space-6; distinct page sections use --space-8 or --space-10.
No raw valuesA gap, padding, or margin that isn’t one of the tokens on this page is a bug, not a design decision.

Showing static fallback rules — add a "Foundation" document in Sanity Studio with slug spacing to manage the usage rules above from the CMS.