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.

Installation
$ pnpm dlx shadcn@latest add @remocn/yes-run

Usage

tsx
// 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

PropTypeDefault
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.

    DefaultDEFAULT_QUESTIONS

  • answerstring

    Answer shown on the tag.

    Default"Yes."

  • dwellnumber

    Frames the first question stays; each next one is quicker.

    Default32

  • holdnumber

    Frames the last answer holds before the end.

    Default44

  • 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.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Ships light and dark; picks the palette.

    Default"dark"