Crisp letters lit from behind by a soft, slowly flowing glow of colour, the way a new AI feature or a launch headline glows.
Pools of colour swirl and flow inside the letters, for headings that feel alive without moving an inch.
Liquid light
Customize
Usage
import { LiquidGradientText, liquidPalettes } from "@/components/motionkit/liquid-gradient-text";
<LiquidGradientText
as="h1"
fontSize={48}
fontWeight={700}
>
Liquid light
</LiquidGradientText>Motion
The exact curves this component runs, plotted with Motion's own maths.
Flow
Runs on its own
Display headings on launch pages, event sites and creative portfolios, where the type itself is the visual.
The letters clip a stack of backgrounds. A broad gradient flows along the angle you choose, and each colour also gets its own soft radial pool that circles on its own path. A Motion frame clock recomputes the positions every frame, and the overlapping pools are what make it read as liquid rather than a simple slide.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | The text. |
| colors | string[] | liquidPalettes.aurora | Two to five colours. Presets: aurora, sunset, ocean, ember, petrol. |
| angle | number | 0 | Direction of the flow in degrees. |
| speed | number | 1 | Playback speed multiplier. |
| fontSize | number | string | — | Pixels, or any CSS length. |
| fontWeight | number | — | Font weight, e.g. 700. |
| as | ElementType | "span" | Element to render, e.g. "h1". |
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.
Only the motion package, beside 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-gradient-text. It saves the file to components/motionkit and installs its dependencies.
Liquid Gradient Text 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, the colours hold still.
Crisp letters lit from behind by a soft, slowly flowing glow of colour, the way a new AI feature or a launch headline glows.
Words on the faces of a cube that rolls forward to the next one, the old word tipping away as the new one rises to face you.
Headline text with a slowly flowing, seamlessly looping gradient.
Liquid light
Customize
Usage
import { LiquidGradientText, liquidPalettes } from "@/components/motionkit/liquid-gradient-text";
<LiquidGradientText
as="h1"
fontSize={48}
fontWeight={700}
>
Liquid light
</LiquidGradientText>Motion
The exact curves this component runs, plotted with Motion's own maths.
Flow
Runs on its own
The live preview is free to explore. Plus unlocks the source for Liquid Gradient Text 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.