RemotionUI

Masked Slide Reveal

Masked Slide Reveal text animation for Remotion.

PrimitivePrimitivesAdvanced

masked-slide-reveal30fps · 960×540
Install
$ npx remotion-ui@latest add masked-slide-reveal

Each line slides up through a fixed-height mask with staggered timing. Pass lines for multi-line headlines, or text with newline-separated copy.

Agent notes

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

Import
@/remotion/primitives/masked-slide-reveal
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: text, lines, staggerInFrames, durationInFrames, 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 { MaskedSlideReveal } from "@/remotion/primitives/masked-slide-reveal"; <MaskedSlideReveal lines={[ "Three layers in your repo", "Drop scenes into", "TransitionSeries", ]} />

API Reference

PropTypeDescription
textstringCopy to reveal. Splits on newlines for line mode, or words on a single line. Omit when using lines.
linesstring[]Explicit lines to reveal through the mask. Preferred for multi-line headlines.
staggerInFramesnumberFrames between each line or word reveal.
durationInFramesnumberFrames for each masked slide-in.
delayInFramesnumberDelay before the first item animates.
textAlign"left" | "center" | "right"Horizontal alignment of lines.
lineGapnumberGap between lines in em units (line mode only).

Related