Golden Ratio Grid
This framework uses the Fibonacci sequence and Golden Ratio (phi = 1.618) as its proportional foundation. Spacing, typography, component dimensions, and grid layouts all derive from these mathematical relationships.
Golden Split (38.2% / 61.8%)
38.2% (1/phi)
61.8% (1 - 1/phi)
Fibonacci 3-Column (2:3:5)
CSS Grid Golden Layout
Fibonacci Spacing Scale
Bar widths are a conceptual px demo of the sequence. The shipped --vd-space-fib-* tokens are rem values that stop at 55 (see the snippet below).
1px2px3px5px8px13px21px34px55px89px144pxGolden Ratio Type Scale
xs — base / phi
sm — base / sqrt(phi)
base — 16px
lg — base x sqrt(phi)
xl — base x phi (≈26px)
2xl — base x phi^1.5 (≈33px)
3xl — base x phi^2 (≈42px)
Feel the ratio — interactive spacing scale
Drag through the Fibonacci spacing scale. Each step's ratio to the one before it sits near φ (1.618) — that convergence is why the rhythm feels balanced without manual tuning.
--vd-space-fib-13 · ×1.625 vs previous stepWhere the golden ratio lives — and where it doesn't
VD3 UI is Fibonacci/φ-first in its design language, and pragmatically conventional where familiarity beats math. We'd rather be honest than dogmatic.
| Aspect | Basis | |
|---|---|---|
| Spacing scale (--vd-space-fib-*) | Fibonacci — 1, 2, 3, 5, 8, 13, 21… | φ |
| Radius scale | Fibonacci | φ |
| Shadows & elevation | Fibonacci offset/blur pairs (1/2, 2/3, 3/5…) | φ |
| Type scale | Golden scale at √φ (≈1.272) steps | φ |
| Line-heights | φ-derived — 1.236, 1.382, 1.618 | φ |
| Button / card padding | Fibonacci pairs (~φ ratio) | φ |
| Container widths | Fibonacci / Lucas — 610, 987, 1597 | φ |
| Golden & Fibonacci grids | Opt-in (.vd-grid-golden, .vd-row-fib-*) | φ |
| Default 12-column grid | Equal columns — φ grids are a class away | conventional |
| Responsive breakpoints | Familiar 576 / 768 / 992 / 1200 / 1400 | conventional |
| z-index & transition timings | Standard increments | conventional |
Compare layouts side by side in Fibonacci vs Standard, or flip the live toggle on the Grid System page.