Light Rays — component for shaders (react)
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
Soft god rays streaming down from the top centre, shifting gently through a light haze
- Install:
npx shadcn@latest add @react-bits/LightRays-JS-CSS - Registry: react-bits · Framework: react · License: MIT + Commons Clause
- Docs and preview: https://reactbits.dev/backgrounds/light-rays
- Source: https://github.com/DavidHDev/react-bits/blob/main/src/content/Backgrounds/LightRays/LightRays.jsx
- Example: https://skills.varg.ai/previews/lib-react-bits-light-rays.mp4?v=31228 (Captured from the library’s own demo page (React Bits))
- Time: Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Use Light Rays from React Bits (https://reactbits.dev/backgrounds/light-rays, MIT + Commons Clause: fine in video). Install with npx shadcn@latest add @react-bits/LightRays-JS-CSS and place it full-frame over dark footage or behind a reveal. It draws on transparency, so it can sit over a product shot with screen blending. Set raysOrigin, raysColor, raysSpeed, lightSpread, rayLength and pulsating. Its time accumulates on requestAnimationFrame: compute it from frame / fps * raysSpeed, and set followMouse={false}, cursorShadow={false}, clickPulse={false} and intro={false}.
Used in
- Lyric video
- Audio visualizer
- Logo sting
- Brand intro & bumper
- Stream overlay package
- News broadcast package
- Countdown & launch timer
- Shader loop
More shaders
- Blob —
npx hyperframes add blob - Chrome Orb —
npx hyperframes add chrome-orb - Color Wheel —
npx hyperframes add color-wheel - Falling Lines —
npx hyperframes add falling-lines - Frost —
npx hyperframes add frost - Godrays —
npx hyperframes add godrays