Backgrounds
Spotlight Sweep
A single soft beam of light passing over a dark section with a quiet top-down vignette, like a stage spotlight crossing the back wall. One deliberate moment of motion for dark hero panels and feature reveals, not a busy texture. Pure CSS, no canvas or JS.
$ velocityx add spotlight-sweep Built for astro.
Full docs for Spotlight Sweep →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| color | 'primary' | 'accent' | No | 'primary' | |
| angle | number | No | 110 | |
| intensity | number | No | 0.3 | |
| duration | number | No | 10 | |
| vignette | boolean | No | true | |
| class | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/spotlight-sweep/SpotlightSweep.astro Using the Spotlight Sweep component
Install it with velocityx add spotlight-sweep.
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.
Calm, full-bleed aurora wash of drifting colour fields for hero and section backdrops. Pure CSS, no canvas or JS, fixed low opacity so body text keeps AA contrast on top.
astroA static technical drafting-table grid with fine minor rules, bolder major rules every few cells, and a faint crosshair origin marker — a precise, no-motion backdrop for engineering, CAD and dev-tool pages.
astroSoft, out-of-focus circles in varied sizes and blur drifting gently behind your content, like camera bokeh behind a subject. Warm and photographic rather than geometric — a gentle backdrop for testimonials, pricing, and about pages.
astroA 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.
astro