Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

2.9 KB
Raw Blame
---
title: Overheard
description: "A question quote, \"Who made our launch video?\", answered by \"I did. It's in the repo.\""
component: overheard
vibe: premium
length: 120
useWhen:
  - "A question-and-answer exchange between two people, such as a customer or colleague overheard."
  - "A social-proof beat that reads like a chat snippet with a punchline at the end."
  - "A dialogue of two or three short lines set in serif type."
avoidWhen:
  - "The message is one long testimonial from one person — use `quote-hero`."
  - "The answer should replace the question in place — use `answer-first`."
  - "You want a quote that rewrites itself over time — use `changed-mind`."
askedAs:
  - "question and answer quote"
  - "two person dialogue text"
  - "I want someone asking who made the video and another answering I did"
  - "show a casual chat exchange as a social proof line"
  - "a funny overheard conversation beat that sells how easy the tool is"
  - "a short back and forth between customer and teammate that lands the punchline"
---

<ComponentPreview name="overheard" />

<InstallBlock name="overheard" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { Overheard } from "@/components/remocn/overheard";

const OverheardScene = () => <Overheard lines={[{ quote: "Who made our launch video?", name: "Mia Okafor, CEO" }, { quote: "I did. It’s in the repo.", name: "Leo Marsh, engineer" }]} highlight="It’s in the repo." />;

export const RemotionRoot = () => (
  <Composition
    id="Overheard"
    component={OverheardScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

Two voices play as dialogue: the first quote types in word by word with natural pauses, its speaker tag fades in, then the second quote answers below, ending with a highlighted phrase. Pass `lines` (quote and name pairs) and `highlight` for the phrase to color; it fits the typing pace to the composition length.

<PropsTable title="Props"
  rows={[
    {
      name: "lines",
      type: "OverheardLine[]",
      default: "DEFAULT_LINES",
      description: "Quote and speaker name pairs, played in order.",
    },
    {
      name: "highlight",
      type: "string",
      default: "\"It’s in the repo.\"",
      description: "Phrase in the last quote to color with the accent.",
    },
    {
      name: "accent",
      type: "string",
      description: "Color for the highlighted phrase; defaults to the theme accent.",
    },
    {
      name: "background",
      type: "string",
      description: "Stage fill color; pass \"transparent\" to overlay your own footage.",
    },
    {
      name: "speed",
      type: "number",
      default: "1",
      description: "Playback multiplier for the whole timeline.",
    },
    {
      name: "theme",
      type: "\"dark\" | \"light\"",
      default: "\"dark\"",
      description: "Color scheme; ships dark and light.",
    },
  ]}
/>