Controls the overall spacing scale for elements. Supports scaled values and inheritance from parent elements.
Large Spacing
Examples
Spacing Scale
The spacing prop sets the overall spacing scale for an element: xs, sm, md, lg, or xl.
Spacing Inheritance
Child elements use the theme spacing unless they are given spacing="inherit".