Backgrounds
Drifting Light Beams
Drifting Light Beams: Tall tilted bars of light drift upward at different speeds and blur together into a slowly shifting haze.
Using Drifting Light Beams
Drifting Light Beams uses the wide preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
beamCount | number | 24 | From 6 to 48; step 2 |
accent | color | #38BDF8 | No additional limit in the metadata. |
intensity | select | medium | Options: subtle, medium, strong |
speed | number | 1 | From 0.2 to 3; step 0.1 |
blur | number | 35 | From 5 to 80; step 1 |
Which frameworks are available for Drifting Light Beams?
Drifting Light Beams is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Drifting Light Beams depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Drifting Light Beams?
The React source for Drifting Light Beams includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Drifting Light Beams handle reduced motion?
Drifting Light Beams reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.