Changed Mind

Big serif pull-quote testimonial edited in place: only the changed words swap as a customer's opinion evolves, with a time label and a solo-founder credit. A free, MIT-licensed Remotion text animation.

In Remotion, Changed Mind is a big serif pull-quote testimonial that gets edited in place to show a customer's opinion changing: "Another tool I won't use." becomes "Another tool I might use." and then "The only tool I use now.", with a solo-founder credit underneath. Use it in a launch or case-study video when the story is how someone came around.

Installation
$ pnpm dlx shadcn@latest add @remocn/changed-mind

How to build this in Remotion

You don't need a typewriter delete-and-retype loop. Install the component and pass the versions of the quote:

bash
npx shadcn@latest add @remocn/changed-mind

It is one scene with a schedule in timeline.ts. The first quote rises in word by word; at each step only the words that differ swap out and in, the shared words glide to their new places, and a small time label ("on day one", "in week two"…) changes with them. The motion is interpolate() and interpolateColors() over Easing curves; word widths are measured before the first frame with delayRender. No @remotion/layout-utils is needed.

Good to know

  • Length: 140 frames of motion at 30 fps (280 at 60 fps) with the default props. The demo composition plays 170 frames, which adds a hold. The steps spread across the whole composition, so a longer durationInFrames gives each version more time instead of freezing. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, 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 Young Serif itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.
  • steps is an array of { quote, when }. The first item is the opening quote and the last is the one that stays; the defaults are "Another tool I won't use." (on day one), "Another tool I might use." (in week two) and "The only tool I use now." (two months in).
  • name is the attribution line under the quote, "Ines Vargas, solo founder" by default.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ChangedMind } from "@/components/remocn/changed-mind";
 
const ChangedMindScene = () => <ChangedMind name="Ines Vargas, solo founder" steps={[{ quote: "Another tool I won’t use.", when: "on day one" }, { quote: "The only tool I use now.", when: "two months in" }]} />;
 
export const RemotionRoot = () => (
  <Composition
    id="ChangedMind"
    component={ChangedMindScene}
    durationInFrames={340}
    fps={60}
    width={1280}
    height={720}
  />
);

A big serif quote types in word by word, then twice rewrites itself: shared words glide to their new spots while changed words swap and glow in the accent color, with the time tag under the attribution updating each time. Pass steps (quote and when pairs) and name; it ships light and dark, and spaces the steps to fit the composition length.

Props11

PropTypeDefault
steps
ChangedMindStep[]DEFAULT_STEPS

Quotes with a time tag each; shared words carry across.

name
string"Ines Vargas, solo founder"

Attribution line shown under the quote.

accent
string—

Color for the words that changed; 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"Young Serif"

Typeface for the copy. Young Serif loads by default; load any other face in your project first.

transition
number18

Longest a quote-to-quote rewrite may take, in frames; short timelines shorten it.

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.

  • stepsChangedMindStep[]

    Quotes with a time tag each; shared words carry across.

    DefaultDEFAULT_STEPS

  • namestring

    Attribution line shown under the quote.

    Default"Ines Vargas, solo founder"

  • accentstring

    Color for the words that changed; 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. Young Serif loads by default; load any other face in your project first.

    Default"Young Serif"

  • transitionnumber

    Longest a quote-to-quote rewrite may take, in frames; short timelines shorten it.

    Default18

  • 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 multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Color scheme; ships dark and light.

    Default"dark"

Common questions

How do I make a serif pull quote that gets edited in place as the customer's opinion changes?

Install Changed Mind with npx shadcn@latest add @remocn/changed-mind and pass steps (each with a quote and a when label) and a name. Only the changed words swap between versions.

Which version shows first?

The first item in steps. The last item is the one that holds at the end.

Do I need to load Young Serif?

No, the component loads it. Load your own font only if you pass fontFamily.