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.
$ pnpm dlx shadcn@latest add @remocn/word-pullbackHow 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:
npx shadcn@latest add @remocn/word-pullbackThe 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,Sequencelengths) 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-fontsfrom npm, plus the remocn helpersgsh,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. PassfontFamilyto use your own face, and load that font in your project. - Set
backgroundto a solid color to replace the shader ground. - Gradient flood: the flood is the shader ground coming up behind the text. Set
backgroundto 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:
logoreplaces the remocn mark with your own node. There is no prop that removes the logo slot; edit the copied source for that.
Usage
// 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
| Prop | Type | Default |
|---|---|---|
| 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.
Default
300 - staggernumber
Frames between words as the rest of the line rises.
Default
3 - 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.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1 - 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.
Can I use my own logo?
Yes, pass it as logo. It replaces the remocn mark.
Related effects
- Word Gap Media: media slides into a gap inside the sentence.
- Staggered Fade Up: a plain line without camera motion.
- Zoom Words: huge words appear one at a time with the camera following.