Backgrounds
Contour Field
Contour Field: A full-bleed animated backdrop of nested elevation contours that swell and merge, with the pointer raising a soft bump in the terrain.
Using Contour Field
Contour Field uses the full page preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accentColor | color | #38BDF8 | No additional limit in the metadata. |
bands | number | 14 | From 4 to 30; step 1 |
speed | number | 0.45 | From 0.1 to 2; step 0.05 |
glow | number | 0.4 | From 0 to 1; step 0.05 |
pointerLift | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Contour Field?
Contour Field is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Contour Field depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Contour Field?
The React source for Contour Field includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Contour Field handle reduced motion?
Contour Field reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.