UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { TruchetWeave } from "@/components/scenes/truchet-weave";
export default function Background() {
return (
<TruchetWeave
className="h-svh w-full"
coreColor="#f4fbff"
midColor="#22d3ee"
rimColor="#a855f7"
accentColor="#e0f2fe"
backgroundColor="#04050a"
wave="radial"
grid={24}
tube={1}
glow={1}
frontGlow={1}
tiles={0.5}
fog={0.6}
bloom={0.7}
speed={0.18}
sweep={1}
lift={1}
flipChance={0.5}
hover={0.6}
burst={1}
parallax={0.35}
quality="auto"
/>
);
}Colours
Controls
Wave
A full-bleed three.js floor of Truchet tiles whose glowing arc tubes join into long winding paths. Waves sweep across it; tiles lift and turn a quarter as the front passes, rewiring the paths and lighting them up. Tiles rise under the cursor and a click sends a ring outward. Colours, shape and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f4fbff" | Wave front |
| midColor | string (hex colour) | "#22d3ee" | Paths |
| rimColor | string (hex colour) | "#a855f7" | Paths 2 |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















