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.
In Remotion, Yes Run animates a series of short customer questions, each answered with the same bold Yes tag on a bright orange background. Use it for an objections-handling beat.
$ pnpm dlx shadcn@latest add @remocn/yes-runGood to know
- Length: 130 frames of motion at 30 fps (260 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 (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Unbounded 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 { 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"