UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { LensQuilt } from "@/components/scenes/lens-quilt";
export default function Background() {
return (
<LensQuilt
className="h-svh w-full"
coreColor="#ff9a2e"
midColor="#ff2f7d"
outerColor="#5a35ff"
backgroundColor="#08060f"
tileShape="square"
tileSize={0.34}
gap={0.07}
cornerRadius={0.55}
stagger={0}
tilt={0.3}
lensStrength={1}
fringe={0.5}
frost={0}
rimLight={1}
offsetX={0.24}
offsetY={0.12}
driftSpeed={0.08}
direction={18}
backdropSpeed={0.3}
swell={0.6}
hoverBulge={1}
ripple={1}
dragInertia={0.6}
parallax={0.5}
quality="auto"
/>
);
}Colours
Controls
Tile shape
An endless wall of deep glass pillows over slowly spreading rings of colour; every tile is a lens holding its own small, bent, colour-fringed copy. Tiles bulge under the cursor, a drag slides the wall and a click ripples a tile. One shader, lighter on phones; reduced motion shows one composed still.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#ff9a2e" | Colour at the centre of the rings in the picture behind the glass, its brightest part. |
| midColor | string (hex colour) | "#ff2f7d" | Colour the rings turn to as they spread out from the centre. |
| outerColor | string (hex colour) | "#5a35ff" | Colour of the outermost rings and of the dimmer ripples on the calm side of the frame. |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















