Pool Light
From Infinity UI by Infinity UI, LicenseRef-InfinityUI license.
UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { PoolLight } from "@/components/effects/pool-light/pool-light";
export default function Background() {
return (
<PoolLight
className="h-svh w-full"
backgroundColor="#1aa6c4"
deepColor="#06476b"
lightColor="#f2fdff"
tileColor="#0b6f8f"
netScale={1}
tileSize={1}
floor="tiles"
sharpness={0.78}
colorSplit={0.45}
tileOpacity={0.7}
depthShading={0.7}
speed={1}
driftSpeed={1}
rippleStrength={1}
rippleLife={3.4}
splashStrength={1}
interactive={true}
/>
);
}Colours
Controls
Floor
Sharp nets of sunlight dance over a tiled pool floor seen from above. The cursor drops ripples that bend the light and the tiles, and a click sends out a splash ring. Pauses off screen, shows one composed still frame under reduced motion, and falls back to a CSS gradient without WebGL2.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string (hex colour) | "#1aa6c4" | Colour of the pool floor in the shallow, sunlit part of the frame. |
| deepColor | string (hex colour) | "#06476b" | Colour the floor fades to at the deep, calmer end of the pool. |
| lightColor | string (hex colour) | "#f2fdff" | Colour of the nets of light; on a pale floor they are drawn as ink in this colour. |
| tileColor |























