← All components
Atmospheres / background

Liquid Chrome

Reflective liquid folds with a pointer-driven ripple and nine-sample surface rendering.

Open in studio ↗
PLAYGROUND
Live preview
Preparing preview…

Take it with you.

SOURCE ACCESS

Preview freely. Unlock the files.

Enter the shared password to copy the complete source, download every file, and install components in your app.

Access lasts 24 hours. Your preview settings stay with you.

Component notes

  • Give the background an explicitly sized parent. Demo.tsx contains the full example composition.
  • The original shader equations are preserved. Reduced motion renders a still frame; hidden/offscreen instances stop requesting frames.
  • A CSS fallback remains without WebGL. Canvas dimensions are bounded at 2048 pixels. Pointer response is decorative and has no essential content.
React 19WebGL2OGL 1.0.11

React Bits · MIT with Commons Clause. Used with explicit project permission; see bundled notice.

Props

PropTypeDefaultDescription
baseColorstring | [number, number, number][0.1, 0.1, 0.1]Metal tint
amplitudenumber0.3Fold amplitude
frequencyXnumber3Horizontal frequency
frequencyYnumber3Vertical frequency
interactivebooleantruePointer ripple
speednumber0.2Motion speed
timenumberundefinedExplicit shader time in seconds before speed scaling; stops automatic frames.
pausedbooleanfalseFreeze time and pointer response.
replayTokennumber0Change to restart the animation.
classNamestring''Additional outer classes.