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 { StirReveal } from "@/components/effects/stir-reveal/stir-reveal";
export default function Background() {
return (
<StirReveal
className="h-svh w-full"
background="#ece8df"
subject="#b4b6bd"
accent="#ffd21a"
stripe="#0d0d10"
bottomBackdrop="#17171b"
rim="#fffbe8"
shape="dome"
subjectScale={1}
lines="contours"
lineAmount={0.5}
number="27"
linger={2}
swirl={0.5}
wander={true}
brush={0.095}
cutoff={0.1}
edgeSoftness={0}
rimWidth={2}
drag={0.5}
grain={0.03}
stir={1}
splash={1}
interactive={true}
imageTop=""
imageBottom=""
/>
);
}Colours
Controls
Two pictures of one subject lie stacked. Your cursor stirs an invisible liquid that cuts crisp, swirling holes to the loud picture below, then closes in a second or two. Reduced motion shows one composed frame; a CSS fallback covers old devices.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| background | string (hex colour) | "#ece8df" | Colour of the backdrop of the calm top picture. |
| subject | string (hex colour) | "#b4b6bd" | Colour of the plain, shaded subject in the top picture. |
| accent | string (hex colour) | "#ffd21a" | Main colour of the loud livery that shows through the holes. |
| stripe | string (hex colour) |























