Rep Stack
A caps word scrolls past a gate as a reel of outlined copies, then locks as a cutout. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/rep-stackUsage
// src/Root.tsx
import { Composition } from "remotion";
import { RepStack } from "@/components/remocn/rep-stack";
const RepStackScene = () => <RepStack word="AGAIN." reps={6} accent="#3B5BFD" />;
export const RemotionRoot = () => (
<Composition
id="RepStack"
component={RepStackScene}
durationInFrames={192}
fps={60}
width={1280}
height={720}
/>
);A reel of outlined copies of the word runs upward through a cap-height gate, braking, and the last copy settles into it as a cutout of the dusk band. The echoes above and below dim back. Pass word (one short word, trailing punctuation takes the accent) and reps for the number of copies; it ships light and dark through theme.
Props11
| Prop | Type | Default |
|---|---|---|
| word | string"AGAIN." One short word, set in caps. Trailing punctuation takes the accent. | |
| reps | number6 How many rows run through the gate before the last one locks. | |
| accent | string"#3B5BFD" Color of the trailing punctuation. | |
| runLength | number42 Frames the reel of copies runs before it brakes into the gate. | |
| ink | string— Color of the outlined copies; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Archivo Narrow" Typeface for the copy. Load the font in your project first. | |
| 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" Light or dark ground; ships both. | |
| speed | number1 Playback speed multiplier. | |
- wordstring
One short word, set in caps. Trailing punctuation takes the accent.
Default
"AGAIN." - repsnumber
How many rows run through the gate before the last one locks.
Default
6 - accentstring
Color of the trailing punctuation.
Default
"#3B5BFD" - runLengthnumber
Frames the reel of copies runs before it brakes into the gate.
Default
42 - inkstring
Color of the outlined copies; 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
"Archivo Narrow" - 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"
Light or dark ground; ships both.
Default
"dark" - speednumber
Playback speed multiplier.
Default
1