Replay Wipe

A broadcast stinger wipes from a live shot to a slow-motion replay and back. A free, MIT-licensed Remotion transition.

Installation
$ pnpm dlx shadcn@latest add @remocn/replay-wipe

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ReplayWipe } from "@/components/remocn/replay-wipe";
 
const ReplayWipeScene = () => (
  <ReplayWipe
    accent="#3B5BFD"
    wipeAt={[26, 84]}
    wipeLength={18}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ReplayWipe"
    component={ReplayWipeScene}
    durationInFrames={264}
    fps={60}
    width={1280}
    height={720}
  />
);

A huge LIVE frame with a ticking clock holds, then a stinger carrying the Remocn R mark spins across on a fluted gradient streak and wipes to the Replay shot in slow motion, then wipes back. Pass your own shots as from and to, set the frames with wipeAt and tune the stinger with wipeLength; it ships light and dark.

Props16

PropTypeDefault
from
React.ReactNode—

Shot before the first wipe; defaults to a Live broadcast frame

to
React.ReactNode—

Shot after the first wipe; defaults to a slow-motion Replay frame

liveLabel
string"LIVE"

Big word in the default Live shot

replayLabel
string"REPLAY"

Big word in the default Replay shot

slowMoLabel
string"Super slow-mo"

Tag next to the Replay bug in the default Replay shot

wipeAt
number[][26, 84]

Frames where a wipe starts; shots alternate from, to, from

wipeLength
number18

Frames the stinger takes to cross the frame

accent
string"#3B5BFD"

Color of the live marker in the default shot

ink
string—

Color of the big word in the default Live shot; overrides the theme ink.

background
string—

Fill of the stage and the default Live shot; pass "transparent" to drop it.

fontFamily
string"Barlow Condensed"

Typeface for the default shots. Load the font in your project first.

logo
React.ReactNode—

Replaces the remocn R that spins across on the streak.

scale
number1

Size of the default shots' type and bugs around the frame's center; the grounds and streak stay put.

theme
"dark" | "light""dark"

Light or dark palette

speed
number1

Playback multiplier for the whole timeline

delay
number0

Frames to hold the first frame before anything moves.

  • fromReact.ReactNode

    Shot before the first wipe; defaults to a Live broadcast frame

  • toReact.ReactNode

    Shot after the first wipe; defaults to a slow-motion Replay frame

  • liveLabelstring

    Big word in the default Live shot

    Default"LIVE"

  • replayLabelstring

    Big word in the default Replay shot

    Default"REPLAY"

  • slowMoLabelstring

    Tag next to the Replay bug in the default Replay shot

    Default"Super slow-mo"

  • wipeAtnumber[]

    Frames where a wipe starts; shots alternate from, to, from

    Default[26, 84]

  • wipeLengthnumber

    Frames the stinger takes to cross the frame

    Default18

  • accentstring

    Color of the live marker in the default shot

    Default"#3B5BFD"

  • inkstring

    Color of the big word in the default Live shot; overrides the theme ink.

  • backgroundstring

    Fill of the stage and the default Live shot; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the default shots. Load the font in your project first.

    Default"Barlow Condensed"

  • logoReact.ReactNode

    Replaces the remocn R that spins across on the streak.

  • scalenumber

    Size of the default shots' type and bugs around the frame's center; the grounds and streak stay put.

    Default1

  • theme"dark" | "light"

    Light or dark palette

    Default"dark"

  • speednumber

    Playback multiplier for the whole timeline

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0