Spacing
Shell's spacing scale, rendered by Shell. Padding, margins and gaps use
its names, like p-sm or gap-lg, never numbers. Space things out
with Stack and Inline.
Scale
Preview
Not in Shell yet
Shell doesn't have this example, or every component it uses.
Steps
The --space-* tokens in Shell's theme, which the names map to.
| Step | Value |
|---|---|
3xs | 2px |
2xs | 4px |
xs | 6px |
sm | 8px |
md | 12px |
lg | 16px |
xl | 24px |
2xl | 32px |
3xl | 48px |
4xl | 64px |