Sunlight on the floor of a pool: a shifting web of light over deep water, edged with a faint rainbow, that swells as the cursor passes.
A slowly flowing liquid-metal surface with studio reflections, rendered in WebGL, that swells gently under the cursor.
Customize
Usage
import { LiquidChrome } from "@/components/motionkit/liquid-chrome";
<LiquidChrome
className="h-[32rem] rounded-3xl"
>
<h1>Your headline</h1>
</LiquidChrome>Motion
The exact curves this component runs, plotted with Motion's own maths.
Metal flows
Runs on its own
Product launches, hardware and audio brands, premium SaaS heroes and anywhere a polished, high-end surface sets the tone.
A WebGL shader builds a moving height field from layered noise, works out the surface's slope at each pixel, and uses that to reflect a simple studio environment: a bright horizon band and a soft key light. That reflection is what makes it read as metal. The pointer adds a gentle bump to the surface. It renders slightly below full resolution, pauses off screen, and waits for the visitor's first interaction before starting WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| tint | string | "#B9C7FF" | Colour mixed into the reflections. |
| tintAmount | number | 0.25 | How much of the tint shows, 0 (pure chrome) to 1. |
| speed | number | 1 | Flow speed. 0 holds it still. |
| scale | number | 1.4 | Zoom: lower gives larger, slower swells. |
| interactive | boolean | true | Let the surface swell under the pointer. |
| children | ReactNode | — | Your content, layered above. |
How we audit: the WCAG 2.2 animation checklist and respecting reduced motion in React.
Yes. The file starts with "use client", so you can import it straight into a Server Component page or layout. It works in Vite as is, and in Astro as a React island.
Nothing beyond React and Tailwind CSS v4. There is no MotionKit package and no Tailwind config to add.
Yes, with MotionKit Plus. Add the @motionkit registry and your personal token to components.json (the snippet is on your account page), then run npx shadcn@latest add @motionkit/liquid-chrome. It saves the file to components/motionkit and installs its dependencies.
Liquid Chrome is part of MotionKit Plus (£12 / $15 / €14 a month or £96 / $120 / €112 a year). The live preview and playground are free to explore; Plus unlocks its source code, every customisation control and commercial use.
With reduced motion on, it renders one still frame. It also stops drawing while off screen.
Sunlight on the floor of a pool: a shifting web of light over deep water, edged with a faint rainbow, that swells as the cursor passes.
Above the clouds at golden hour: banks of cloud drift past in three depths, lit on the edges facing a glowing sun, parting as the cursor passes.
A calm sea at night: stars over the horizon, a haloed moon, and a long path of glitter on the water that shivers with every swell. The moon drifts after the cursor.
Built to last
The live preview is free to explore. Plus unlocks the source for Liquid Chrome and every other premium component.
Not ready for Plus? A free account unlocks 4 premium components, Depth Card, Rolling Text, Dot Wave and Confetti Button, with no card needed.
Customize
Usage
import { LiquidChrome } from "@/components/motionkit/liquid-chrome";
<LiquidChrome
className="h-[32rem] rounded-3xl"
>
<h1>Your headline</h1>
</LiquidChrome>Motion
The exact curves this component runs, plotted with Motion's own maths.
Metal flows
Runs on its own
Built to last