RemotionUI

Directional Wipe

A soft-edged wipe that uncovers the next scene without ever showing the background.

PrimitiveTransitionsAdvanced

directional-wipe30fps · 960×540
Install
$ npx remotion-ui@latest add directional-wipe

The incoming scene is revealed by a soft-edged mask travelling from direction, while the outgoing one holds whole underneath and carries a little counter parallax. Only the arriving scene is masked — wiping both at once would open a hole onto the background in the middle of the cut.

edgeSoftness is the width of the feathered edge as a share of the frame; set it to 0 for a hard architectural line. depth is the parallax the two scenes carry against each other under the wipe.

Exports transitionDirectionalWipe() and getTransitionDirectionalWipeDuration() for use with TransitionSeries.Transition.

Requires @remotion/transitions. Run npx remotion add @remotion/transitions if not already installed.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/directional-wipe
  • Use when: scene transitions and composition pacing.
  • Customize: durationInFrames, direction, edgeSoftness, depth, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { transitionDirectionalWipe } from "@/remotion/primitives/directional-wipe"; <TransitionSeries.Transition {...transitionDirectionalWipe({ direction: "from-left" })} />

API Reference

PropTypeDescription
durationInFramesnumberTransition overlap length.
direction"from-left" | "from-right" | "from-top" | "from-bottom"Wipe direction.
edgeSoftnessnumberSoft edge width as a share of the frame. 0 cuts hard.
depthnumberParallax the scenes carry under the wipe.
variant"linear" | "spring" | "editorial"Timing curve.

Related