Staggered Fade Up
Words of a long sentence rise and fade in one after another in a cascade, a wave-like word-by-word headline reveal. A free, MIT-licensed Remotion text animation.
In Remotion, Staggered Fade Up animates a long headline word by word: each word slides up a few pixels and fades in after the one before it, so the line arrives in a cascade, like a wave. It is the neutral default for a long headline or a sentence of body copy.
$ pnpm dlx shadcn@latest add @remocn/staggered-fade-upGood to know
- Length: 90 frames of motion at 30 fps (180 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:
remotionfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: Geist Sans through the
--font-geist-sansCSS variable, with a system sans fallback. The font is set inline, so change it in the copied file; aclassNamefont does not override an inline style. - Words wrap at the width of the frame. There is no max-width prop: for a narrower measure on a very long headline, add
maxWidthandtextAlign: "center"to the text span in the copied file. - Each word moves on its own frames from the stagger, so a longer sentence takes longer: add
staggerDelayframes per extra word to the natural length below.
How to build this in Remotion
You don't have to split the sentence into words and run interpolate() or spring() on each one yourself. Install the component and pass the text:
npx shadcn@latest add @remocn/staggered-fade-upEach word is its own inline-block span. The schedule in timeline.ts starts word i at i * staggerDelay frames; over 12 frames the word's opacity goes from 0 to 1 and it rises distance pixels into place, both on a linear interpolate().
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { StaggeredFadeUp } from "@/components/remocn/staggered-fade-up";
const StaggeredFadeUpScene = () => (
<StaggeredFadeUp text="Ship videos faster" staggerDelay={4} />
);
export const RemotionRoot = () => (
<Composition
id="StaggeredFadeUp"
component={StaggeredFadeUpScene}
durationInFrames={180}
fps={60}
width={1280}
height={720}
/>
);Props8
| Prop | Type | Default |
|---|---|---|
| textrequired | string— The text to animate. Split on spaces into words. | |
| staggerDelay | number4 Frames between the start of each word's animation | |
| distance | number20 Vertical distance in pixels each word travels upward | |
| fontSize | number72 Font size in pixels | |
| fontWeight | number600 CSS font-weight | |
| color | string"#171717" Text color (any valid CSS color) | |
| speed | number1 Playback speed multiplier (1 = normal, 2 = twice as fast) | |
| className | string— Optional className passed to the underlying span | |
- textrequiredstring
The text to animate. Split on spaces into words.
- staggerDelaynumber
Frames between the start of each word's animation
Default
4 - distancenumber
Vertical distance in pixels each word travels upward
Default
20 - fontSizenumber
Font size in pixels
Default
72 - fontWeightnumber
CSS font-weight
Default
600 - colorstring
Text color (any valid CSS color)
Default
"#171717" - speednumber
Playback speed multiplier (1 = normal, 2 = twice as fast)
Default
1 - classNamestring
Optional className passed to the underlying span
Common questions
How do I animate a long sentence word by word in Remotion?
Install Staggered Fade Up with npx shadcn@latest add @remocn/staggered-fade-up and pass text. It splits on spaces; staggerDelay sets the frames between words and distance how far each word rises.
How long does the cascade take?
Each word takes 12 frames at 30 fps and starts staggerDelay frames (4 by default) after the previous one, so the last word settles at (words - 1) * staggerDelay + 12 frames, divided by speed.
Can I change the font?
fontSize, fontWeight and color are props. The font family is set inline in the copied file.
Related effects
- Soft Blur In: a per-letter reveal with a premium blur.
- Spring Scale In: a bouncy entrance for short text.
- Mask Reveal Up: whole lines rise from behind a mask.