Stack Letters
The letters of one caps word fall, stack into a tower, topple and land into place with a squash on a warm gradient, a title card for a release or milestone. A free, MIT-licensed Remotion text animation.
In Remotion, Stack Letters spells one caps word with capital letters that tumble down and stack into place: they drop one by one onto a stack, the tower rocks and topples, and each letter tumbles and lands into its place in a row with a small squash, on a warm gradient. Use it as a one-word title card for a release or milestone, like "SHIPPED".
$ pnpm dlx shadcn@latest add @remocn/stack-lettersHow to build this in Remotion
You don't need a physics engine or hand-tuned spring() bounces. Install the component and pass the word:
npx shadcn@latest add @remocn/stack-lettersThe motion is keyframed, not simulated, so every render is identical. The schedule in timeline.ts drops each letter stagger frames after the one before, holds the full stack for hold frames, rocks it and topples it; each landing gets a one-frame squash with a damped return and a tick on the ground rule in the accent color.
Good to know
- Length: 106 frames of motion at 30 fps (212 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 are doubled, see Frame rate. - The warm gradient is built in and differs per theme: on
dark, a deep#070505ground lit by orange#E0703B, rust and peach; onlight, a cream#EFE8DCground lit by orange-red#F2552C, amber#F7B23Band pink#E889B5. There is no prop for its colors:backgroundreplaces the whole gradient with a flat fill or"transparent", and the colors live in the copied file. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Space Grotesk itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { StackLetters } from "@/components/remocn/stack-letters";
const StackLettersScene = () => <StackLetters word="SHIPPED" accent="#3B5BFD" />;
export const RemotionRoot = () => (
<Composition
id="StackLetters"
component={StackLettersScene}
durationInFrames={270}
fps={60}
width={1280}
height={720}
/>
);Letters drop in one by one and stack into a tower, which rocks and topples; each letter then tumbles and lands in a row that spells the word, ticking a ground rule as it lands. Pass word (a short caps word works best) and accent.
Props12
| Prop | Type | Default |
|---|---|---|
| word | string"STACK" The word to stack; short caps words fit best. | |
| stagger | number8 Frames between letters dropping onto the stack. | |
| hold | number9 Frames the full stack stands before it rocks and topples. | |
| accent | string"#3B5BFD" Color of the landing ticks on the ground rule. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Space Grotesk" Typeface for the copy. Load the font in your project first. | |
| grain | booleantrue Film grain over the scene. | |
| 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. | |
| theme | "dark" | "light""dark" Color scheme; ships dark and light. | |
| speed | number1 Playback multiplier for the whole timeline. | |
- wordstring
The word to stack; short caps words fit best.
Default
"STACK" - staggernumber
Frames between letters dropping onto the stack.
Default
8 - holdnumber
Frames the full stack stands before it rocks and topples.
Default
9 - accentstring
Color of the landing ticks on the ground rule.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Space Grotesk" - grainboolean
Film grain over the scene.
Default
true - 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 - theme"dark" | "light"
Color scheme; ships dark and light.
Default
"dark" - speednumber
Playback multiplier for the whole timeline.
Default
1
Common questions
How do I make letters fall and land into place in Remotion?
Install Stack Letters with npx shadcn@latest add @remocn/stack-letters and pass a short caps word, such as "SHIPPED". stagger sets the frames between drops and hold how long the stack stands before it topples.
Does it use a physics engine?
No. The drops, the topple and the landing squash are keyframed with eased curves, so the animation is deterministic and needs no extra package.
Related effects
- Word Stack: a stacked poster for a full sentence or several words.
- Bottom-Up Letters: a calm letter reveal with no physics.
- Per-Character Rise: letters that stay readable through a long hold.