Skip to content

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

3.1 KB
Raw Blame
---
title: Embargo Lift
description: "\"remocn is free, open source and out today\" in condensed type with a green accent"
component: embargo-lift
vibe: clean
length: 102
useWhen:
  - "A launch-day announcement where the key facts are revealed from behind redaction bars."
  - "A press-embargo style teaser for a release date."
  - "A three-line statement where the important words are uncovered one by one."
avoidWhen:
  - "You want a plain one-line reveal with no redaction look — use `mask-reveal-up`."
  - "You are thanking testers instead of announcing — use `beta-thanks`."
  - "The reveal should come from a transition between two scenes — use `fade-through`."
askedAs:
  - "redacted text revealed"
  - "I want launch facts uncovered from behind black bars"
  - "press embargo style announcement out today"
  - "launch day message revealing free and open source in condensed type"
  - "redaction bars lifting"
  - "censor bars removed reveal"
---

<ComponentPreview name="embargo-lift" />

<InstallBlock name="embargo-lift" />

## 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={140}
    fps={30}
    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).

<PropsTable title="Props"
  rows={[
    {
      name: "lines",
      type: "string[]",
      description: "Lines of text; wrap phrases in square brackets to hide them behind bars.",
    },
    {
      name: "slug",
      type: "string",
      default: "\"Embargoed until 9:00 a.m.\"",
      description: "Label shown while the bars are still down.",
    },
    {
      name: "liftedSlug",
      type: "string",
      default: "\"Embargo lifted, 9:00 a.m.\"",
      description: "Label shown once the embargo lifts.",
    },
    {
      name: "highlight",
      type: "number",
      description: "Index of the bar that takes the accent; defaults to the last.",
    },
    {
      name: "accent",
      type: "string",
      description: "Color of the highlighted bar; 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.",
    },
  ]}
/>