UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { SpikePool } from "@/components/scenes/spike-pool";
export default function Background() {
return (
<SpikePool
className="h-svh w-full"
fluidColor="#030305"
lightColor="#e4ecff"
sheenColor="#4d7cff"
backgroundColor="#08090c"
spikeDensity={5}
spikeHeight={0.8}
sharpness={0.6}
crownSize={1.2}
splay={0.8}
swell={1}
speed={1}
gloss={0.8}
iridescence={0}
horizonHaze={0.6}
magnetStrength={1.25}
followLag={0.18}
pulseStrength={0.5}
offsetX={0}
parallax={0.25}
quality="auto"
/>
);
}Colours
Controls
A glossy black pool of magnetic fluid. A crown of sharp spikes follows the cursor, others rise and sink by themselves, and a click sends a ring of spikes across the pool. Colours, spike shape, swell and gloss are adjustable. Slow devices get fewer, larger spikes; reduced motion shows one still frame.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| fluidColor | string (hex colour) | "#030305" | Colour of the fluid itself: black for ferrofluid, silver for chrome, a deep colour for tinted ink. |
| lightColor | string (hex colour) | "#e4ecff" | Colour of the tube lights reflected as long streaks in the pool and as a line on each spike. |
| sheenColor | string (hex colour) | "#4d7cff" | Colour of the second set of lights: one streak in the pool and the tint on one side of each spike. |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















