Yes Run
A string of short questions is each answered with the same bold Yes tag on bright orange. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/yes-runUsage
// src/Root.tsx
import { Composition } from "remotion";
import { YesRun } from "@/components/remocn/yes-run";
const YesRunScene = () => (
<YesRun questions={["Vertical?", "Captions?", "Your fonts?"]} answer="Yes." />
);
export const RemotionRoot = () => (
<Composition
id="YesRun"
component={YesRunScene}
durationInFrames={300}
fps={60}
width={1280}
height={720}
/>
);Each question in questions is answered by the answer tag landing next to it, quickening as they go. Pass questions and answer to answer your own FAQ. It ships in light and dark through the theme prop.
Props12
| Prop | Type | Default |
|---|---|---|
| questions | string[]DEFAULT_QUESTIONS Short questions answered in turn. | |
| answer | string"Yes." Answer shown on the tag. | |
| dwell | number32 Frames the first question stays; each next one is quicker. | |
| hold | number44 Frames the last answer holds before the end. | |
| accent | string— Accent color override; falls back to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background color override; falls back to the theme background. | |
| fontFamily | string"Unbounded" 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. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Ships light and dark; picks the palette. | |
- questionsstring[]
Short questions answered in turn.
Default
DEFAULT_QUESTIONS - answerstring
Answer shown on the tag.
Default
"Yes." - dwellnumber
Frames the first question stays; each next one is quicker.
Default
32 - holdnumber
Frames the last answer holds before the end.
Default
44 - accentstring
Accent color override; falls back to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Background color override; falls back to the theme background.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Unbounded" - 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 speed multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Ships light and dark; picks the palette.
Default
"dark"