Word Pullback

Zoom-out text reveal for Remotion: open on one huge serif word, then the camera pulls back to show it is part of a longer sentence, ending on a logo as a gradient floods in.

To open on a single huge word and then pull the camera back to show it is part of a longer sentence in Remotion, use Word Pullback: the accent word types in up close in a serif face, the view pulls back as the rest of its line rises around it, then a second pull reveals the full sentence, such as "The cinematic toolkit for every launch", with a logo above it as a gradient ground floods in. Use it as an opener that starts close and zooms out.

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

How to build this in Remotion

You don't have to animate scale with a hand-tuned transform-origin and measure the line with @remotion/layout-utils. Install the component and pass the sentence in three parts:

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

The whole sentence is laid out once in its final place, measured after the fonts load, and the camera move is a transform on that layer, so the huge word and the finished line are the same text. The schedule in timeline.ts runs the typing, the first pull, the words of the line rising stagger frames apart, the next lines, the second pull, the ground flooding in and the logo popping up.

Good to know

  • Length: 96 frames of motion at 30 fps (192 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 (durationInFrames, Sequence lengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers gsh, glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Instrument Serif, Inter Tight and Manrope itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.
  • Set background to a solid color to replace the shader ground.
  • Gradient flood: the flood is the shader ground coming up behind the text. Set background to a solid color, or "transparent", and the shader and its flood are skipped; this also leaves out the shader's render cost, which isn't documented separately.
  • Logo: logo replaces the remocn mark with your own node. There is no prop that removes the logo slot; edit the copied source for that.

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.

Common questions

How do I start on one giant word and zoom out to the full sentence?

Install Word Pullback with npx shadcn@latest add @remocn/word-pullback and pass before, accentWord and after. It opens on accentWord filling the frame and pulls back to the whole line.

Can I turn off the gradient at the end?

Yes: pass a solid background or "transparent", which replaces the shader ground that floods in.

Yes, pass it as logo. It replaces the remocn mark.