Split Match

Split-flap reels lock on each word in turn until the last word merges into a large logo. A free, MIT-licensed Remotion logo animation.

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

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SplitMatch } from "@/components/remocn/split-match";
 
const SplitMatchScene = () => (
  <SplitMatch
    words={["build", "ship", "launch", "remocn"]}
    accent="#3B5BFD"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="SplitMatch"
    component={SplitMatchScene}
    durationInFrames={290}
    fps={60}
    width={1280}
    height={720}
  />
);

Two reels slam in and lock on the first word, then step to each next word in turn until the last one, where the seam closes and the gradient floods into the large logo. Pass words; length grows by 25 frames per extra word, and the file exports splitMatchDuration(wordCount) for the composition length. Ships light and dark.

Props12

PropTypeDefault
words
string[]["build", "ship", "launch", "remocn"]

Words in order; the last one becomes the poster logo.

accent
string"#3B5BFD"

Accent colour for the mark and highlights; any CSS colour.

theme
"dark" | "light""dark"

Dark or light palette and ground.

hold
number16

Frames each word stays locked before the reels move on.

step
number9

Frames for the reels to travel from one word to the next.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Bricolage Grotesque"

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

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.

grain
booleantrue

Film grain over the scene.

speed
number1

Playback multiplier for the whole timeline; 1 is normal speed.

  • wordsstring[]

    Words in order; the last one becomes the poster logo.

    Default["build", "ship", "launch", "remocn"]

  • accentstring

    Accent colour for the mark and highlights; any CSS colour.

    Default"#3B5BFD"

  • theme"dark" | "light"

    Dark or light palette and ground.

    Default"dark"

  • holdnumber

    Frames each word stays locked before the reels move on.

    Default16

  • stepnumber

    Frames for the reels to travel from one word to the next.

    Default9

  • 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"Bricolage Grotesque"

  • 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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback multiplier for the whole timeline; 1 is normal speed.

    Default1