Changed Mind
A big serif pull quote, "The only tool I use now.", with a solo-founder attribution. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/changed-mindUsage
// 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={170}
fps={30}
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
| Prop | Type | Default |
|---|---|---|
| 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. Load the font 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.
Default
DEFAULT_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. Load the font in your project first.
Default
"Young Serif" - transitionnumber
Longest a quote-to-quote rewrite may take, in frames; short timelines shorten it.
Default
18 - 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 multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Color scheme; ships dark and light.
Default
"dark"