Short Slide Down
Headline words fall in from the top one after another and stack into a centered multi-line block, each new word pushing the ones below down. A free, MIT-licensed Remotion text animation.
In Remotion, Short Slide Down drops the words of a short headline in from the top one after another, each on its own line, pushing the earlier words down so the growing stack stays centered. Use it for a three-word heading that should build its layout visibly.
$ pnpm dlx shadcn@latest add @remocn/short-slide-downHow to make headline words drop in from above and stack in Remotion
A multi-word headline where each word drops in from above and stacks into a centered multi-line block is one component. You do not need staggered spring() delays or @remotion/layout-utils to measure the lines:
npx shadcn@latest add @remocn/short-slide-downtextis split on spaces and each word gets its own line;entryOffsetsets how far above its line a word starts. Each word fades, scales and un-blurs as it lands, usinginterpolate()with anEasing.beziercurve.- The first word lands in 11 frames and each later word takes 15 more.
speedscales the whole build, andtimingmoves or stretches single words. - It is made for short headings (about three words). Every word gets its own line, so longer headlines get tall; there is no option to keep several words on one line.
- The font is Geist Sans through the
--font-geist-sansCSS variable, set inline; change it in the copied file. The background is transparent.
For a swap between two texts use Shared Axis Y; for a sideways glide use Short Slide Right.
Good to know
- Length: 60 frames at 30 fps (120 at 60 fps) for a short headline. That is the minimum for its
Sequence; add your own hold on top. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { ShortSlideDown } from "@/components/remocn/short-slide-down";
const ShortSlideDownScene = () => (
<ShortSlideDown text="Build from above." entryOffset={28} />
);
export const RemotionRoot = () => (
<Composition
id="ShortSlideDown"
component={ShortSlideDownScene}
durationInFrames={120}
fps={60}
width={1280}
height={720}
/>
);Each word drops in from above onto its own line and pushes the existing words down so the growing stack stays vertically centered — the words split onto separate lines, best for short three-word headings.
This is a layout-aware effect — it measures word heights to keep the stack centered, so it works best with short headings.
With Backdrop
The component renders transparent — supply the background via Backdrop. It ships single-theme; edit the copied file to re-theme colors.
Pair with Backdrop to place the text inside a full-frame fill with a rounded, shadowed content frame:
import { Composition } from "remotion";
import { ShortSlideDown } from "@/components/remocn/short-slide-down";
import { Backdrop } from "@/components/remocn/backdrop";
const ShortSlideDownScene = () => (
<Backdrop fill={{ type: "color", value: "#ffffff" }}>
<ShortSlideDown text="Build from above." entryOffset={28} />
</Backdrop>
);
export const RemotionRoot = () => (
<Composition
id="ShortSlideDown"
component={ShortSlideDownScene}
durationInFrames={120}
fps={60}
width={1280}
height={720}
/>
);Props7
| Prop | Type | Default |
|---|---|---|
| textrequired | string— The phrase to build. Each word becomes its own line; best with short three-word phrases. | |
| entryOffset | number28 How far in pixels each incoming word starts above its line before dropping in. | |
| 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 for the whole animation | |
| className | string— Optional className passed to the stack container | |
- textrequiredstring
The phrase to build. Each word becomes its own line; best with short three-word phrases.
- entryOffsetnumber
How far in pixels each incoming word starts above its line before dropping in.
Default
28 - 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 for the whole animation
Default
1 - classNamestring
Optional className passed to the stack container