Coy Denial
Huge joke line like Don't check the site at nine. undone by a tiny sheepish (Do.) aside in the corner. A reverse-psychology teaser for launch videos. A free, MIT-licensed Remotion text animation.
In Remotion, Coy Denial sets a huge line such as "Don't check the site at nine." and then tucks a tiny sheepish "(Do.)" into the corner that undoes it. Use it for a reverse-psychology teaser or a comedic beat before a launch, one denial and aside after another.
$ pnpm dlx shadcn@latest add @remocn/coy-denialHow to build this in Remotion
No need for fitText, a TransitionSeries of rounds or a manual font setup. Install the component and pass your rounds:
npx shadcn@latest add @remocn/coy-denialEach round is a pair of say and aside. The big line builds word by word, the aside appears, then the round exits for the next; every move is interpolate() over an Easing curve on a schedule from timeline.ts. The component wraps and sizes the big line itself, balancing it over up to three rows (six in portrait) so the widest row fits the frame, and holds the first frame with delayRender until the font is ready.
Good to know
- Length: 144 frames of motion at 30 fps (288 at 60 fps) with the default props. The demo composition plays 180 frames, which adds a hold. The pace fits the composition: a longer
durationInFramesgives each round more read time. 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-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Funnel Display itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project. - Long lines are fine: "Don't check the site at nine." wraps into balanced rows at 1280×720. All rounds share one font size, set by the longest line.
roundsdefaults to two pairs: "Nothing is launching on Thursday." / "(Something is.)" and "Don't check the site at nine." / "(Do.)". Pass one pair for a single gag.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { CoyDenial } from "@/components/remocn/coy-denial";
const CoyDenialScene = () => <CoyDenial rounds={[{ say: "Nothing is launching on Thursday.", aside: "(Something is.)" }]} />;
export const RemotionRoot = () => (
<Composition
id="CoyDenial"
component={CoyDenialScene}
durationInFrames={360}
fps={60}
width={1280}
height={720}
/>
);A big statement builds word by word, then a sheepish parenthetical aside appears in the corner that contradicts it; the round exits and the next one follows. Pass rounds (say and aside pairs); it fits the pace to the composition length.
Props11
| Prop | Type | Default |
|---|---|---|
| rounds | CoyDenialRound[]DEFAULT_ROUNDS Statement and aside pairs, played in turn. | |
| accent | string— Color of the corner aside; 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"Funnel Display" Typeface for the copy. Funnel Display loads by default; load any other face in your project first. | |
| stagger | number3 Frames between words as a denial rises in. | |
| hold | number28 Frames the aside stays readable before the round leaves. | |
| 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. | |
- roundsCoyDenialRound[]
Statement and aside pairs, played in turn.
Default
DEFAULT_ROUNDS - accentstring
Color of the corner aside; 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. Funnel Display loads by default; load any other face in your project first.
Default
"Funnel Display" - staggernumber
Frames between words as a denial rises in.
Default
3 - holdnumber
Frames the aside stays readable before the round leaves.
Default
28 - 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"
Common questions
How do I make a huge line with a tiny sheepish aside in the corner that undoes it?
Install Coy Denial with npx shadcn@latest add @remocn/coy-denial and pass rounds, for example [{ say: "Don't check the site at nine.", aside: "(Do.)" }].
Will a long line wrap well?
Yes. The component splits it into balanced rows and scales it to fit, so you don't need fitText.
Do I need to load Funnel Display?
No, the component loads it. Load your own font only if you pass fontFamily.
Related effects
- Deadpan Box: a quote whose attribution is the punchline.
- Cut Off: a long explanation interrupted by a short reply.
- Answer First: the answer lands before the question.
- Out of Context: a slogan whose last phrase flips the meaning.