A premium fluid liquid metal shader background effect with interactive mouse distortion.
pnpm dlx shadcn@latest add @componentry/liquid-chromeimport { LiquidChrome } from "@workspace/ui/components/liquid-chrome"
<LiquidChrome
baseColor={[0.10, 0.10, 0.10]}
speed={1.0}
amplitude={0.6}
interactive={true}
/>| Prop | Type | Default |
|---|---|---|
baseColor | [number, number, number]Base RGB color tint. Use values 0.0 - 1.0. | [0.1, 0.1, 0.1] |
speed | numberAnimation speed multiplier. | 1.0 |
amplitude | numberDetail level and distortion of the fluid waves. | 0.6 |
interactive | booleanEnables mouse distortion if true. | true |
className | stringAdditional CSS classes for styling. | — |
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.