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 { LiquidMetal } from "@/components/effects/liquid-metal/liquid-metal";
export default function Background() {
return (
<LiquidMetal
className="h-svh w-full"
palette="chrome"
speed={1}
scale={1}
distortion={0.55}
contrast={0.6}
interactive={true}
/>
);
}Controls
A slowly flowing sheet of polished metal for heroes and full-bleed backgrounds. Chrome, gold, mercury, rose, obsidian and oil-slick palettes, or your own colours. WebGL2 on a shared context, pauses off screen, still frame under reduced motion, SVG turbulence fallback.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| palette | "chrome" | "gold" | "mercury" | "rose" | "obsidian" | "oil" | "chrome" | Metal |
| speed | number (0 to 3) | 1 | Speed |
| scale | number (0.3 to 3) | 1 | Scale |
| distortion | number (0 to 1) | 0.55 | Distortion |
| contrast |























