Exactly
A yellow "Exactly." lands first, then "It's just code." completes the answer. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/exactlyUsage
// src/Root.tsx
import { Composition } from "remotion";
import { Exactly } from "@/components/remocn/exactly";
const ExactlyScene = () => <Exactly rounds={[{ objection: "It’s just code.", reply: "Exactly." }]} />;
export const RemotionRoot = () => (
<Composition
id="Exactly"
component={ExactlyScene}
durationInFrames={330}
fps={60}
width={1280}
height={720}
/>
);Each round types an objection, which drops away as the reply lands beside it and reflows into the final answer; the next round follows. Pass rounds (objection and reply pairs); it compresses to fit the composition length.
Props11
| Prop | Type | Default |
|---|---|---|
| rounds | ExactlyRound[]DEFAULT_ROUNDS Objection and reply pairs, played in order. | |
| stagger | number3 Frames between words as an objection builds. | |
| hold | number30 Frames an answered round holds before the next one starts. | |
| accent | string— Color of the reply; 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"Hubot Sans" 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 multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Color scheme; ships dark and light. | |
- roundsExactlyRound[]
Objection and reply pairs, played in order.
Default
DEFAULT_ROUNDS - staggernumber
Frames between words as an objection builds.
Default
3 - holdnumber
Frames an answered round holds before the next one starts.
Default
30 - accentstring
Color of the reply; 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
"Hubot Sans" - 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"