Split Word

A giant word splits open along a thin hairline and a status word, such as Available, slides into the opening inside the headline over an aurora gradient band. A free, MIT-licensed Remotion text animation.

In Remotion, Split Word reveals a status word inside a headline: a giant word rises in letter by letter, a thin hairline cuts through its middle, the two halves slide apart and a second word such as "Available" sits in the opening on an aurora gradient band. Use it for a "Now Available", "Now Live" or "Coming Soon" announcement.

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

How to build this in Remotion

You don't have to clip two copies of the headline with clip-path, animate them apart with spring() and fit the text with @remotion/layout-utils. Install the component and pass the two words:

bash
npx shadcn@latest add @remocn/split-word

Both words are drawn as SVG outlines that ship inside the component, so it loads no font and measures nothing in the DOM. The schedule in timeline.ts rises each letter stagger frames after the one before, draws the hairline (cut, 10 frames), splits the word (open, 24 frames), holds the slit wide open for hold frames and then settles it to a narrower band (settle, 26 frames).

Good to know

  • Length: 94 frames of motion at 30 fps (188 at 60 fps) with the default props. That is the minimum for its Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • Font: there is no font prop. The letters are built-in outlines of the uppercase alphabet A–Z, so both words are set in caps; digits, punctuation and accented letters become spaces. To use another typeface, replace the outlines in the copied file.
  • Size: there is no font-size prop either. The giant word is scaled to fill the frame's width inside a margin, the inserted word is at most about half its size and shrinks to fit the width, and the whole block shrinks to fit the height. A long word or a long insert fits, it just gets smaller.
  • The aurora band is always on: it is a fixed full-frame sky that only the slit shows, set by the AURORA constant in the copied file (mint #A0F0C8, teal #3FB5A3, indigo #5147B6, mauve #B25C9C). accent colors the hairline; background replaces the ground around the word, not the band.
  • Installs: remotion from npm, plus the remocn helpers frame-rate, timeline. The shadcn CLI copies the source into your project.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SplitWord } from "@/components/remocn/split-word";
 
const SplitWordScene = () => <SplitWord word="Now" insert="Available" accent="#3B5BFD" />;
 
export const RemotionRoot = () => (
  <Composition
    id="SplitWord"
    component={SplitWordScene}
    durationInFrames={252}
    fps={60}
    width={1280}
    height={720}
  />
);

word rises in letter by letter, a hairline cuts through its middle, and the two halves slide apart to open an aurora-gradient band where insert sits. The halves then settle back with a small offset. It ships light and dark through theme.

Props12

PropTypeDefault
word
string"Now"

The huge word that gets split open.

insert
string"Available"

The word revealed inside the gap.

stagger
number3

Frames between letters as the word rises in.

hold
number14

Frames the slit stays wide open before it settles.

accent
string"#3B5BFD"

Color of the hairline cut.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

grain
booleantrue

Film grain over the scene.

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.

theme
"dark" | "light""dark"

Light or dark ground; ships both.

speed
number1

Playback speed multiplier.

  • wordstring

    The huge word that gets split open.

    Default"Now"

  • insertstring

    The word revealed inside the gap.

    Default"Available"

  • staggernumber

    Frames between letters as the word rises in.

    Default3

  • holdnumber

    Frames the slit stays wide open before it settles.

    Default14

  • accentstring

    Color of the hairline cut.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • 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

  • theme"dark" | "light"

    Light or dark ground; ships both.

    Default"dark"

  • speednumber

    Playback speed multiplier.

    Default1

Common questions

How do I make a giant word split open and reveal a word inside it in Remotion?

Install Split Word with npx shadcn@latest add @remocn/split-word and pass word (the headline that opens) and insert (the status word revealed in the gap), for example word="Now" and insert="Available".

Can I use lowercase letters or numbers?

No. Both words are set in uppercase from built-in A–Z outlines, and any other character is drawn as a space.

Can I turn off or recolor the aurora band?

Not with a prop. Edit the AURORA colors in the copied file.