Word Pullback

The camera pulls back from a big word to reveal "The cinematic toolkit for every launch". A free, MIT-licensed Remotion text animation.

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

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { WordPullback } from "@/components/remocn/word-pullback";
 
const WordPullbackScene = () => (
  <WordPullback before="The" accentWord="cinematic" after="toolkit for every launch" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="WordPullback"
    component={WordPullbackScene}
    durationInFrames={264}
    fps={60}
    width={1280}
    height={720}
  />
);

One big word is typed, then the camera pulls back in two moves to reveal the surrounding sentence and a logo before a gradient floods the frame. Pass before, accentWord and after; it ships light and dark.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props16

PropTypeDefault
before
string"The"

Text before the accent word.

accentWord
string"cinematic"

Word shown huge first, set in serif.

after
string"toolkit for every launch"

Text after the accent word.

fontWeight
number300

Weight of the line around the accent word.

stagger
number3

Frames between words as the rest of the line rises.

accent
string—

Accent colour (any CSS colour).

ink
string—

Text colour (any CSS colour).

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

fontFamily
string"Inter Tight"

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

logo
React.ReactNode—

Replaces the remocn mark.

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.

theme
"dark" | "light""dark"

Colour scheme; ships light and dark.

ground
GshPresetId—

Gradient preset used for the backdrop.

groundParams
Partial<GradientParams>—

Overrides for the gradient preset parameters.

  • beforestring

    Text before the accent word.

    Default"The"

  • accentWordstring

    Word shown huge first, set in serif.

    Default"cinematic"

  • afterstring

    Text after the accent word.

    Default"toolkit for every launch"

  • fontWeightnumber

    Weight of the line around the accent word.

    Default300

  • staggernumber

    Frames between words as the rest of the line rises.

    Default3

  • accentstring

    Accent colour (any CSS colour).

  • inkstring

    Text colour (any CSS colour).

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • fontFamilystring

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

    Default"Inter Tight"

  • logoReact.ReactNode

    Replaces the remocn mark.

  • 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

  • theme"dark" | "light"

    Colour scheme; ships light and dark.

    Default"dark"

  • groundGshPresetId

    Gradient preset used for the backdrop.

  • groundParamsPartial<GradientParams>

    Overrides for the gradient preset parameters.