Memphis Drift
From Infinity UI by Infinity UI, LicenseRef-InfinityUI license.
UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { MemphisDrift } from "@/components/effects/memphis-drift/memphis-drift";
export default function Background() {
return (
<MemphisDrift
className="h-svh w-full"
color1="#ff7eb6"
color2="#ffd25a"
color3="#5fe0c0"
color4="#f4efe6"
background="#2a2248"
density={0.7}
size={0.5}
shapes="all"
drift={1}
spin={1}
clearing={1}
burst={1}
interactive={true}
/>
);
}Colours
Controls
Shapes
80s Memphis confetti in flat colour drifts and spins over a flat ground. The cursor clears a round space ringed with dots, shoving the shapes to its rim, and a click throws a burst of confetti. One shared WebGL2 context, pauses off screen, a composed still frame under reduced motion, CSS fallback.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color1 | string (hex colour) | "#ff7eb6" | First of the four colours the shapes are painted in. |
| color2 | string (hex colour) | "#ffd25a" | Second shape colour. |
| color3 | string (hex colour) | "#5fe0c0" | Third shape colour. |
| color4 | string (hex colour) |























