Velocity X Components

Backgrounds

Scanline Glow

Retro-CRT scanline texture with a slow diagonal light sweep, for terminal, dev-tool, and dark dashboard heroes that need hardware texture instead of flat black. Pure CSS, zero JS.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add scanline-glow

Built for astro.

Full docs for Scanline Glow →

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

astro v1.0.1
Scanline Glow

Props

NameTypeRequiredDefaultDescription
lineOpacitynumberNo0.08
sweepbooleanNotrue
sweepColor'primary' | 'accent'No'primary'
durationnumberNo6
classstringNo''

File this creates

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

text
components/velocity/scanline-glow/ScanlineGlow.astro

Using the Scanline Glow component

Install it with velocityx add scanline-glow. 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.