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}
/>| Property | Type | Default |
|---|---|---|
baseColorBase RGB color tint. Use values 0.0 - 1.0. | [number, number, number] | [0.1, 0.1, 0.1] |
speedAnimation speed multiplier. | number | 1.0 |
amplitudeDetail level and distortion of the fluid waves. | number | 0.6 |
interactiveEnables mouse distortion if true. | boolean | true |
classNameAdditional CSS classes for styling. | string | — |
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.