UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { JackPile } from "@/components/scenes/jack-pile";
export default function Background() {
return (
<JackPile
className="h-svh w-full"
accentColor="#c8f53c"
secondColor="#f2f2ec"
thirdColor="#1a1a1e"
backgroundColor="#0c0e07"
backdropTint={0.26}
clickPalette={true}
count={40}
size={1}
armThickness={0.21}
holeSize={0.5}
gloss={0.8}
shadow={0.6}
lightAngle={-35}
drift={1}
bounciness={0.35}
damping={0.4}
pushRadius={1}
pushStrength={1}
clickKick={1}
parallax={0.2}
/>
);
}Colours
Controls
Click palette
A heap of chunky, glossy six-armed jacks with real collisions. The cursor shoves them and they tumble into each other; a click kicks them and swaps the accent colour. Slow devices get fewer jacks; reduced motion shows one composed frame.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accentColor | string (hex colour) | "#c8f53c" | Colour of the accent jacks and the first colour of the click palette. |
| secondColor | string (hex colour) | "#f2f2ec" | Colour of the second family of jacks, white by default. |
| thirdColor | string (hex colour) | "#1a1a1e" | Colour of the third family of jacks, black by default. |
| backgroundColor |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















