Embargo Lift

Redacted text reveal for Remotion: a launch-day announcement shows black redaction bars over key words, then the bars lift one by one, with a green accent word.

In Remotion, Embargo Lift reveals a launch-day announcement from behind black redaction bars: the lines show with phrases blacked out under an embargo slug, the slug flips to "lifted", and the bars lift one at a time to reveal the words, the last one in green. Use it for a launch announcement like free, open source and out today.

Installation
$ pnpm dlx shadcn@latest add @remocn/embargo-lift

How to build this in Remotion

You don't need GSAP or TransitionSeries for a redaction reveal. Install the component and mark the hidden phrases with square brackets:

bash
npx shadcn@latest add @remocn/embargo-lift

One scene with a schedule in timeline.ts: the slug flips, then each bar lifts stagger frames after the last. Motion uses interpolate() with Easing curves; lines are measured before the first frame, held with delayRender.

Good to know

  • Length: 102 frames of motion at 30 fps (204 at 60 fps) with the default props. That is the minimum for its Sequence; add your own hold on top (the demo plays 140 frames). The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • The bars are drawn in the text color. accent colors the words revealed under the highlighted bar, not the bar itself: #2BD96B green in the dark theme, #0E9F4B in light.
  • Defaults: lines are remocn is [free], / [open source] / and [out today]. and the slug reads Embargoed until 9:00 a.m. Pass slug and liftedSlug with your own wording.
  • If durationInFrames is shorter than the natural length, the lifts speed up to fit.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Big Shoulders itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { EmbargoLift } from "@/components/remocn/embargo-lift";
 
const EmbargoLiftScene = () => <EmbargoLift lines={["remocn is [free],", "[open source]", "and [out today]."]} slug="Embargoed until 9:00 a.m." liftedSlug="Embargo lifted, 9:00 a.m." />;
 
export const RemotionRoot = () => (
  <Composition
    id="EmbargoLift"
    component={EmbargoLiftScene}
    durationInFrames={280}
    fps={60}
    width={1280}
    height={720}
  />
);

The lines show with bracketed phrases hidden behind redaction bars under an embargo slug; the slug flips to the lifted version and the bars lift one at a time to reveal the words. Mark hidden phrases in lines with square brackets, and pass slug, liftedSlug and highlight (the bar that gets the accent).

Props14

PropTypeDefault
lines
string[]—

Lines of text; wrap phrases in square brackets to hide them behind bars.

slug
string"Embargoed until 9:00 a.m."

Label shown while the bars are still down.

liftedSlug
string"Embargo lifted, 9:00 a.m."

Label shown once the embargo lifts.

highlight
number—

Index of the bar that takes the accent; defaults to the last.

accent
string—

Color of the words revealed under the highlighted bar; defaults to the theme accent.

ink
string—

Text color; overrides the theme ink.

background
string—

Stage fill color; pass "transparent" to overlay your own footage.

fontFamily
string"Big Shoulders"

Typeface for the copy. The default is loaded for you; load any other font in your project first.

fontWeight
number500

Weight of the lines and slug.

stagger
number14

Frames between one bar lifting and the next.

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.

speed
number1

Playback multiplier for the whole timeline.

theme
"dark" | "light""dark"

Color scheme; ships dark and light.

  • linesstring[]

    Lines of text; wrap phrases in square brackets to hide them behind bars.

  • slugstring

    Label shown while the bars are still down.

    Default"Embargoed until 9:00 a.m."

  • liftedSlugstring

    Label shown once the embargo lifts.

    Default"Embargo lifted, 9:00 a.m."

  • highlightnumber

    Index of the bar that takes the accent; defaults to the last.

  • accentstring

    Color of the words revealed under the highlighted bar; defaults to the theme accent.

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Stage fill color; pass "transparent" to overlay your own footage.

  • fontFamilystring

    Typeface for the copy. The default is loaded for you; load any other font in your project first.

    Default"Big Shoulders"

  • fontWeightnumber

    Weight of the lines and slug.

    Default500

  • staggernumber

    Frames between one bar lifting and the next.

    Default14

  • 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

  • speednumber

    Playback multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Color scheme; ships dark and light.

    Default"dark"

Common questions

How can I reveal a launch announcement from behind black redaction bars in Remotion?

Install Embargo Lift with npx shadcn@latest add @remocn/embargo-lift, wrap each hidden phrase in lines in square brackets, and pass slug and liftedSlug.

Does the accent color the bar or the text?

The text: the phrase under the highlighted bar is set in accent. highlight picks which bar, the last by default.

  • Mask Reveal Up: lines reveal upward with a soft masked feel and compact stagger.
  • Beta Thanks: "Remocn is out" with a green "out", thanking the beta testers below.
  • Stripe Mask: slanted stripes mask a two-sentence bold headline into view.