Chore Fold
A teal "Captions does all of that." folds the chore away, "You just talk." beneath. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/chore-foldUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ChoreFold } from "@/components/remocn/chore-fold";
const ChoreFoldScene = () => <ChoreFold steps={["Export the audio.", "Fix every timestamp by hand."]} name="Captions" result="does all of that." payoff="You just talk." />;
export const RemotionRoot = () => (
<Composition
id="ChoreFold"
component={ChoreFoldScene}
durationInFrames={360}
fps={60}
width={1280}
height={720}
/>
);A list of tedious manual steps appears line by line, then folds away from the outside in until the middle is left, and the hero sentence swaps in with the tool name highlighted before the payoff line lands. Pass steps, label, name, result and payoff; it fits the read time to the composition length.
Props15
| Prop | Type | Default |
|---|---|---|
| steps | string[]DEFAULT_STEPS The manual chores shown first, one per line. | |
| label | string"By hand" Small label above the list of chores. | |
| name | string"Captions" Product or tool name highlighted in the hero line. | |
| result | string"does all of that." Rest of the hero sentence after the name. | |
| payoff | string"You just talk." Short closing line shown beneath the hero. | |
| accent | string— Color of the highlighted name; 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"Geologica" Typeface for the copy. Load the font in your project first. | |
| lineStagger | number8 Frames between steps as the list builds. | |
| stagger | number2 Frames between words within a line. | |
| 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. | |
- stepsstring[]
The manual chores shown first, one per line.
Default
DEFAULT_STEPS - labelstring
Small label above the list of chores.
Default
"By hand" - namestring
Product or tool name highlighted in the hero line.
Default
"Captions" - resultstring
Rest of the hero sentence after the name.
Default
"does all of that." - payoffstring
Short closing line shown beneath the hero.
Default
"You just talk." - accentstring
Color of the highlighted name; 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
"Geologica" - lineStaggernumber
Frames between steps as the list builds.
Default
8 - staggernumber
Frames between words within a line.
Default
2 - 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"