Meridian/Foundations · Spacing & layout
Spacing & layout
A 4px grid,
a 12-column page.
Every margin, gap and size is a step on this scale. Components use the small end (4–16); layouts use the large end (24–96). If a value isn't here, the design isn't finished.
| space-1 | 4 | |
|---|---|---|
| space-2 | 8 | |
| space-3 | 12 | |
| space-4 | 16 | |
| space-5 | 20 | |
| space-6 | 24 | |
| space-8 | 32 | |
| space-10 | 40 | |
| space-12 | 48 | |
| space-16 | 64 | |
| space-24 | 96 | |
| space-32 | 128 |
Inside a component, padding is usually ≥ the gap between its children. Between sections, double it.
App layout
1440 viewport| Name | Min | Behavior |
|---|---|---|
| sm | 640 | Single column; tables scroll horizontally, never collapse to cards |
| md | 768 | Tabs scroll sideways; breadcrumbs collapse to the last crumb |
| lg | 1024 | Full header, all tabs visible; 2-up card grids |
| xl | 1280 | Inspector panels; 3–4 up grids; reading width capped at 720 |
Meridian Design Language10