Build web apps, websites, startups, and AI tools with your AI coding tool. Pay once, ship unlimited projects

Animated backgrounds, built into the kit. Put one behind your hero, your footer, or any section. Reshape it with a prompt: colors, speed, mood. Pick an effect on the left and tell your AI where it goes.

Backgrounds · /30

Veil Rays

webgl

Soft volumetric light falling from above — organic beams, a breathing cone, and film grain.

Customize

Ask your AI

You do not need to write any code. The kit ships an agent skill (agent-skills/apply-background.md) your AI coding tool follows on its own — tune the effect above, then just say what you want:

> Put Veil Rays (app/components/backgrounds/effects/veil-rays.tsx) behind the landing hero in our brand colors
> Add Veil Rays to the pricing band, calmer and slower

Usage

Prefer the code path? Mount the effect absolutely inside a relative section and lift the content above it — wire it by hand, or paste this exact snippet into your AI chat. It follows your Customize values; colors accept hex values or brand tokens like var(--color-accent).

import { VeilRays } from '~/components/backgrounds/effects'

<section className="relative overflow-hidden">
  <div className="absolute inset-0">
    <VeilRays color="#dde3ec" background="#0f1013" speed={1} />
  </div>
  <div className="relative">{/* hero content */}</div>
</section>

Props

PropTypeDefaultDescription
colorstringvar(--color-accent)Effect color. Accepts a hex or a var(--token) reference.
backgroundstringvar(--color-fx-canvas)Canvas fill behind the effect.
speednumber1Animation speed multiplier.