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 { BauhausTiles } from "@/components/effects/bauhaus-tiles/bauhaus-tiles";
export default function Background() {
return (
<BauhausTiles
className="h-svh w-full"
colorOne="#d8392b"
colorTwo="#f1b42f"
colorThree="#1f4c9c"
colorFour="#1b1a1a"
paperColor="#efe6d2"
tilesAcross={6}
gap={0}
rounding={0}
variety={0.8}
emptyTiles={0.16}
waveSpeed={1}
springiness={0.6}
grain={0.4}
reach={0.3}
interactive={true}
/>
);
}Colours
Controls
A Bauhaus poster grid that keeps rearranging itself: flat quarter circles, half moons and triangles turn in waves and flip like cards. Tiles near the cursor turn to face it; a click sends a ring of flips. One shader pass on a shared WebGL2 context; a still poster under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colorOne | string (hex colour) | "#d8392b" | First ink, the main colour of the poster. |
| colorTwo | string (hex colour) | "#f1b42f" | Second ink of the poster. |
| colorThree | string (hex colour) | "#1f4c9c" | Third ink of the poster. |
| colorFour | string (hex colour) |























