Decorative Surfaces

Surfaces are reusable backdrop fills for heroes, marketing bands, and Seemore Glass demos. Ship .vd-surface plus a variant, then tune Fibonacci intensity with .vd-surface-2|3|5|8|13 (powers of φ). Primary mixes use color-mix(in oklab, …).

Mesh.vd-surface-mesh

Soft radials + micro-stripes over a warm spectrum — classic glass stage.

Stripe.vd-surface-stripe

Bold diagonal bands on blue → purple → orange. High-energy hero fill.

Noise.vd-surface-noise

Grainy stipple over slate / indigo / magenta for editorial depth.

Aurora.vd-surface-aurora

Overlapping color ribbons — calm atmosphere for marketing bands.

Dots.vd-surface-dots

Polka lattice on a cool field — playful without fighting frost.

Grid.vd-surface-grid

Fine technical lattice for dashboards and product chrome.

Golden horizon.vd-surface-phi-radial

Dual elliptical blooms at (61.8%, 38.2%) and (38.2%, 61.8%) over a 137.508° base.

Golden wave.vd-surface-golden-wave

Crossed 137.508° and 222.492° bands at 13px, 21px, 34px, and 55px.

Fibonacci lattice.vd-surface-fib-lattice

Nested grids at 13px, 34px, and 89px.

Golden prism.vd-surface-golden-prism

Conic sectors anchored at (61.8%, 38.2%) with stops at 137.508° and 222.492°.

Phyllotaxis.vd-surface-phyllotaxis

Vogel 137.508° seed field on a 233px tile, plus Fibonacci rings.

Golden spiral.vd-surface-spiral

610×377 rectangle subdivision with an inscribed quarter-turn spiral.

Vortex.vd-surface-vortex

Four-arm 16.18° inflow curves and Fibonacci isobars.

Caustic.vd-surface-caustic

144×89 tile of phase-shifted golden-ratio light filaments.

Intensity modifiers

Intensity adjusts pattern opacity/contrast — not blur — so Surfaces stay cheap under glass.

Whisper.vd-surface-2φ⁻²
Soft.vd-surface-3φ⁻¹
Default.vd-surface-5φ⁰
Bold.vd-surface-8φ^0.5
Vivid.vd-surface-13φ¹
Pairing recipe

Surface + Seemore Glass

Put busy color in the Surface; keep one Fibonacci glass step on the content panel. Consumers get the same classes we use in docs.

Explore Seemore Glass
Focal drift

useSurface(driftRoot, { amplitude: 16, speed: 1 }) moves --vd-surface-focal-x and --vd-surface-focal-y on this card. [data-surface-drift] follows a 1 : φ Lissajous curve (±16 points at 1 rad/s). [data-surface-parallax] offsets by nx × 8 (about ±4 points). Library defaults stay 5.5 points, 0.45 rad/s, and nx × 8. The loop pauses off-screen and stops under prefers-reduced-motion: reduce.

Golden horizon + caustic glass

Drift and pointer parallax stay inside this surface.

Recommended glass pairings
SurfaceGlass
.vd-surface-phi-radial.vd-glass-5 or .vd-glass-8 + .vd-glass-caustic
.vd-surface-golden-wave.vd-glass-8 or .vd-glass-13 + .vd-glass-adaptive
.vd-surface-fib-lattice.vd-glass-5 + .vd-glass-obsidian
.vd-surface-golden-prism.vd-glass-13 or .vd-glass-21 + .vd-glass-caustic
.vd-surface-phyllotaxis.vd-glass-8 + .vd-glass-caustic
.vd-surface-spiral.vd-glass-8 or .vd-glass-13 + .vd-glass-obsidian
.vd-surface-vortex.vd-glass-8 + .vd-glass-caustic
.vd-surface-caustic.vd-glass-5 or .vd-glass-8 + .vd-glass-caustic
Tokens
TokenRoleDefault
--vd-surface-intensityPattern layer strength1 (step 5, φ⁰)
--vd-surface-contrastDark-layer punch1 (step 5)
--vd-surface-min-heightDefault min-height12rem
--vd-surface-baseVariant base gradientset per variant
--vd-golden-angleSurface light vector137.508deg
--vd-golden-angle-conjConjugate wave angle222.492deg
--vd-surface-focal-xPrimary focal x61.8%
--vd-surface-focal-yPrimary focal y38.2%
--vd-surface-focal-x-altSecondary focal x38.2%
--vd-surface-focal-y-altSecondary focal y61.8%