# Liquid Gradient Text

> Pools of colour swirl and flow inside the letters, for headings that feel alive without moving an inch.

Category: Text · MotionKit Plus · Updated 2026-10-20 · Live demo: https://www.motionkitui.com/components/liquid-gradient-text

## When to use it

Display headings on launch pages, event sites and creative portfolios, where the type itself is the visual.

## How it works

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.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/liquid-gradient-text` after adding their registry token from https://www.motionkitui.com/account.

## Props

| 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". |

## Accessibility

- **Keyboard: Not applicable.** Text only, nothing to focus.
- **Screen readers: Pass.** Real text: read, selected and translated like any heading.
- **Reduced motion: Pass.** With reduced motion on, the colours hold still.
- **Colour contrast: Partial.** Every colour in the aurora, ocean and sunset palettes clears the 3:1 large-text minimum on the dark background (lowest: #6366F1 at 4.4:1). Use it for headings, and check custom palettes.
