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 .md to 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

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

More shaders