Deadpan Box

A flat, deadpan quote in a blue box with a small attribution line. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/deadpan-box

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { DeadpanBox } from "@/components/remocn/deadpan-box";
 
const DeadpanBoxScene = () => <DeadpanBox quote="Nobody watches launch videos." attribution="Founder. Nobody watched the launch." brand="remocn" />;
 
export const RemotionRoot = () => (
  <Composition
    id="DeadpanBox"
    component={DeadpanBoxScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

A small box showing the brand logo grows to hug a flat quote, which holds for a deadpan beat; then the box floods the whole frame and the attribution line lands the joke before a brand sign-off. Pass quote, attribution and brand ("remocn" renders the real logo, anything else is set as a wordmark).

Props15

PropTypeDefault
quote
string"Nobody watches launch videos."

The setup, without quote marks: curly marks are added and hung for you.

attribution
string"Founder. Nobody watched the launch."

The deadpan attribution that lands the joke after a pause.

brand
string"remocn"

Brand name; "remocn" renders the real logo, anything else a wordmark.

logo
React.ReactNode—

Replaces the remocn mark.

accent
string"#3B5BFD"

Main color of the gradient field inside the box.

ink
string—

Text color inside the box; white by default.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Schibsted Grotesk"

Typeface for the copy. Load the font in your project first.

stagger
number5

Frames between quote lines as they rise in.

punchAt
number92

Frame the box floods the screen for the punchline.

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.

grain
booleantrue

Film grain over the scene.

theme
"dark" | "light""dark"

Color scheme; ships dark and light.

speed
number1

Playback multiplier for the whole timeline.

  • quotestring

    The setup, without quote marks: curly marks are added and hung for you.

    Default"Nobody watches launch videos."

  • attributionstring

    The deadpan attribution that lands the joke after a pause.

    Default"Founder. Nobody watched the launch."

  • brandstring

    Brand name; "remocn" renders the real logo, anything else a wordmark.

    Default"remocn"

  • logoReact.ReactNode

    Replaces the remocn mark.

  • accentstring

    Main color of the gradient field inside the box.

    Default"#3B5BFD"

  • inkstring

    Text color inside the box; white by default.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Schibsted Grotesk"

  • staggernumber

    Frames between quote lines as they rise in.

    Default5

  • punchAtnumber

    Frame the box floods the screen for the punchline.

    Default92

  • 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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • theme"dark" | "light"

    Color scheme; ships dark and light.

    Default"dark"

  • speednumber

    Playback multiplier for the whole timeline.

    Default1