Nighty night — component for backgrounds & gradients (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.

Indigo and lavender swells rising out of near-black under heavy film grain

Prompt that renders it frame-exact

Use the ShaderGradient "Nighty night" preset (preset 04 on https://shadergradient.co/customize, MIT; exported as presets.nightyNight from @shadergradient/react, source github.com/ruucm/shadergradient/blob/main/packages/shadergradient/src/presets.ts) as a dark full-frame background for night-time, sleep, music or late-show titles in white type. Install @shadergradient/react with @react-three/fiber and three, then render <ShaderGradientCanvas style={{position:'absolute',inset:0}} lazyLoad={false} pixelDensity={1}> with <ShaderGradient {...presets.nightyNight.props} /> inside. To make it frame-exact, override animate="off" and pass uTime={seconds} (the shader multiplies it by uSpeed 0.3), set enableTransition={false} so the camera starts in place, and let R3F draw once before each frame is captured. Keep color3 near-black so text stays readable, tint color1 and color2 toward the brand, and lower uStrength for flatter, quieter swells.

Used in

More backgrounds & gradients