Velocity X Components

Backgrounds

Diagonal Stripe Drift

A slow, restrained drift of diagonal bands behind a section — reads as quiet motion rather than decoration, so body copy, forms and pricing tables stay fully legible on top.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add diagonal-stripe-drift

Built for astro.

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

astro v1.0.1
Diagonal Stripe Drift

Props

NameTypeRequiredDefaultDescription
stripeColor'primary' | 'accent' | 'neutral'No'neutral'
opacitynumberNo0.06
anglenumberNo135
durationnumberNo18
densitynumberNo64
classstringNo''

File this creates

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

text
components/velocity/diagonal-stripe-drift/DiagonalStripeDrift.astro

Using the Diagonal Stripe Drift component

Install it with velocityx add diagonal-stripe-drift. 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.