Split Word

A huge word is cut open by a hairline and a second word slides into the gap. A free, MIT-licensed Remotion text animation.

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

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={126}
    fps={30}
    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