UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { FoldedLight } from "@/components/scenes/folded-light";
export default function Background() {
return (
<FoldedLight
className="h-svh w-full"
coreColor="#f4fbff"
midColor="#3ee8c4"
rimColor="#8a5cff"
accentColor="#e9fff8"
backgroundColor="#02040a"
layers={4}
folds={1}
depth={1}
bands={1}
brightness={1}
rays={0.6}
bloom={0.6}
speed={0.4}
push={1}
shimmer={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js shader of layered curtains of iridescent light that pleat and fold as they drift, brightest where a fold turns edge-on. The curtains billow away from the cursor and shimmer outward on click. Colours, shape and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f4fbff" | Fold highlights |
| midColor | string (hex colour) | "#3ee8c4" | Film 1 |
| rimColor | string (hex colour) | "#8a5cff" | Film 2 |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















