Staggered Fade Up
Words slide up and fade in sequentially with a wave-like cascade. A free, MIT-licensed Remotion text animation.
In Remotion, Staggered Fade Up animates a 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 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. - 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.
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