Coy Denial
A huge "Don't check the site at nine." with a sheepish "(Do.)" tucked into the corner. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/coy-denialUsage
// 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. Load the font 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. Load the font 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"