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 { BitmapTide } from "@/components/effects/bitmap-tide/bitmap-tide";
export default function Background() {
return (
<BitmapTide
className="h-svh w-full"
ink="#ebe6d6"
backgroundColor="#0c0c0e"
pattern="swell"
pixelSize={4}
matrix="8"
scale={1}
angle={-24}
offsetX={0}
offsetY={0}
contrast={1}
edgeFade={0.6}
speed={1}
interactive={true}
wakeStrength={1}
wakeLength={2.2}
ringSpeed={0.2}
ringWidth={0.08}
/>
);
}Colours
Controls
Pattern
Dither matrix
A one-bit sea in two colours: crisp square pixels in an ordered dither, with slow swells and a sphere of light rolling under them. The cursor drags a bright wake and a click sends out a ring that flips pixels. One cheap shader pass on a shared WebGL2 context; a composed still frame under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| ink | string (hex colour) | "#ebe6d6" | Colour of the pixels that draw the picture. |
| backgroundColor | string (hex colour) | "#0c0c0e" | Colour of the page behind the pixels. |
| pattern | "swell" | "sphere" | "ridge" | "swell" | The form under the dither: scalloped tide fronts, one large lit sphere, or straight ridges. |
| pixelSize | number (2 to 8) |























