Backgrounds
Scroll Depth Field
Diagonal line field whose drift and tilt are driven by actual scroll position, not a timed loop — native scroll-timeline CSS where supported, rAF fallback elsewhere. Reverses on scroll-up, freezes the instant scrolling stops.
$ velocityx add scroll-depth-field
Built for react.
Needs react already installed
as a peer dependency.
An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.
Full docs for Scroll Depth Field →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Scroll Depth Field
Diagonal line field whose drift and tilt are driven by actual scroll position, not a timed loop — native scroll-timeline CSS where supported, rAF fallback elsewhere. Reverses on scroll-up, freezes the instant scrolling stops.
Preview isn't available in this repo yet — install with the CLI to view the source
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/scroll-depth-field/ScrollDepthField.tsx Using the Scroll Depth Field component
Install it with velocityx add scroll-depth-field.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Backgrounds.
PCB-style wiring paths with travelling light pulses, giving technical and infrastructure pages a systems-and-signal backdrop without any canvas or extra dependency.
reactSlow drifting field of points that link into triangles when close, like a star map redrawing itself. A calm 'data / network / intelligence' backdrop for dashboard, pricing, and AI-product heroes.
reactThree depth layers of a dot matrix that drift at different rates with the pointer, giving a flat section real depth. The structured counterpart to free-floating particle backgrounds — sits behind pricing tables, feature grids, and app screenshots.
reactStripe-style ribbon of thin lines that twists in pseudo-3D — additive blending lights up a glowing fold where the lines bunch. Pure canvas, zero dependencies.
react