Double Take
"Read that again." above an oversized pink "One person" on blue. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/double-takeUsage
// src/Root.tsx
import { Composition } from "remotion";
import { DoubleTake } from "@/components/remocn/double-take";
const DoubleTakeScene = () => <DoubleTake text="One person wrote this entire launch video over a single lunch break." focus="One person" cue="Read that again." />;
export const RemotionRoot = () => (
<Composition
id="DoubleTake"
component={DoubleTakeScene}
durationInFrames={320}
fps={60}
width={1280}
height={720}
/>
);A line crawls in word by word, stops, then rewinds and zooms back onto one phrase, which lights up in the accent color over a small cue line. Pass text, focus (the phrase to land on) and cue; it compresses to fit the composition length.
Props13
| Prop | Type | Default |
|---|---|---|
| text | string"One person wrote this entire launch video over a single lunch break." The full sentence that crawls in. | |
| focus | string"One person" Phrase the view rewinds and zooms to. | |
| cue | string"Read that again." Small line shown above the highlighted phrase. | |
| accent | string— Color of the highlighted phrase; defaults to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage fill color; pass "transparent" to overlay your own footage. | |
| fontFamily | string"Outfit" Typeface for the copy. Load the font in your project first. | |
| stagger | number3 Frames between words as the line rises in. | |
| hold | number8 Frames the line rests at the end before it rewinds. | |
| 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. | |
| speed | number1 Playback multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Color scheme; ships dark and light. | |
- textstring
The full sentence that crawls in.
Default
"One person wrote this entire launch video over a single lunch break." - focusstring
Phrase the view rewinds and zooms to.
Default
"One person" - cuestring
Small line shown above the highlighted phrase.
Default
"Read that again." - accentstring
Color of the highlighted phrase; defaults to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage fill color; pass "transparent" to overlay your own footage.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Outfit" - staggernumber
Frames between words as the line rises in.
Default
3 - holdnumber
Frames the line rests at the end before it rewinds.
Default
8 - 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 - speednumber
Playback multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Color scheme; ships dark and light.
Default
"dark"