Yes Run

Rapid-fire FAQ beat for Remotion: a run of quick product questions, each answered by the same bold Yes label on bright orange, getting faster with every question.

To show a run of quick questions each answered by the same bold Yes label on orange in Remotion, use Yes Run: questions such as "Vertical?", "Captions?" and "Your fonts?" come one after another, the same Yes tag lands next to each, and every exchange is quicker than the one before. Use it for an objection-handling beat or a rapid feature checklist.

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

How to build this in Remotion

You don't have to chain Series or TransitionSeries items and tune spring() overshoot for each tag. Install the component and pass your questions:

bash
npx shadcn@latest add @remocn/yes-run

The schedule in timeline.ts gives the first question dwell frames (32 by default) and each next one a little less, then holds the last answer for hold frames (44). The dwells are fitted to the composition after delay, so a longer clip slows the run instead of freezing at the end. Text is measured on a canvas once the font has loaded, so each question and its tag sit together without the layout jumping.

Good 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, Sequence lengths) 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-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Unbounded itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.
  • Colors: in the dark theme the frame is orange #FF5A1F with black text, and the Yes tag is black with orange letters. In the light theme the frame is white and the tag is orange #E8480F with white letters. accent replaces the orange in either theme; background and ink override the frame and the text.

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"

Common questions

How do I animate a list of questions all answered with the same Yes?

Install Yes Run with npx shadcn@latest add @remocn/yes-run and pass questions and answer ("Yes." by default). Each question is answered by the same tag, faster each time.

What is the default orange?

#FF5A1F as the background in the dark theme and #E8480F for the tag in the light theme. Pass accent to use your brand color.

Can the answer be something other than Yes?

Yes, set answer. It is the same for every question; for different answers use Which Means.