Liquid Word

One word melts into a glowing gradient pool, then a new word rises out of it and sets. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/liquid-word

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { LiquidWord } from "@/components/remocn/liquid-word";
 
const LiquidWordScene = () => <LiquidWord from="idea" to="product" />;
 
export const RemotionRoot = () => (
  <Composition
    id="LiquidWord"
    component={LiquidWordScene}
    durationInFrames={290}
    fps={60}
    width={1280}
    height={720}
  />
);

The from word holds, then melts under a swirl gradient, sags, drips and slumps into one pool. The to word rises out of the pool letter by letter from the center, and the liquid sets into solid ink. Pass from and to for your own words. It takes a theme prop and ships light and dark.

Props13

PropTypeDefault
from
string"draft"

The word that melts.

to
string"shipped"

The word that re-forms out of the pool, crisp and kerned.

meltAt
number12

Frame the first word starts to melt; the rest of the timeline follows.

stagger
number3

Frames between letters of the new word rising out of the pool.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Sora"

Typeface for the copy. Load the font in your project first.

theme
"dark" | "light""dark"

Light or dark ground; the component ships both.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

speed
number1

Playback speed multiplier for the whole timeline.

grain
booleantrue

Film grain over the scene.

accent
string—

Kept for API parity; the liquid uses its own gradient palette.

  • fromstring

    The word that melts.

    Default"draft"

  • tostring

    The word that re-forms out of the pool, crisp and kerned.

    Default"shipped"

  • meltAtnumber

    Frame the first word starts to melt; the rest of the timeline follows.

    Default12

  • staggernumber

    Frames between letters of the new word rising out of the pool.

    Default3

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Sora"

  • theme"dark" | "light"

    Light or dark ground; the component ships both.

    Default"dark"

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • accentstring

    Kept for API parity; the liquid uses its own gradient palette.