Velocity X Components

Backgrounds

Dot Grid Parallax

Three 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.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add dot-grid-parallax

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 Dot Grid Parallax →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Dot Grid Parallax

Props

NameTypeRequiredDefaultDescription
classNamestringNo''
spacingnumberNo28
dotColor'primary' | 'accent' | 'ink'No'ink'
strengthnumberNo18
fadebooleanNotrue

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/dot-grid-parallax/DotGridParallax.tsx

Using the Dot Grid Parallax component

Install it with velocityx add dot-grid-parallax. 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.

More from Backgrounds.