Opus Motion ★ Star on GitHub

Documents · redaction-bars

Redaction bars

A typed case-file page on cream paper: navy ink bars print over chosen words with a 2-frame stamp kick, then lift one by one (slide-and-peel with a back ease) to reveal a yellow-highlighted word — some stay hidden — and a red DECLASSIFIED stamp slams at the end.

A free, MIT-licensed document animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Redaction bars: three frames of the document animation, start, middle and end
Redaction bars — start, middle and end of the 6.0-second motion.

What Redaction bars is for

Leaks, spoilers, surprise reveals, compliance and privacy explainers, true-crime style beats.

  • redaction
  • redacted
  • document
  • censor
  • secret
  • reveal
  • spoiler
  • case file
  • dossier
  • stamp
  • declassified
  • typewriter
  • paper
  • leak
  • privacy

Details

Category
Document, form & report animations
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title text
Colour props
paper ink bar highlight stampColor
Mood
paper
Roles
subject

Use Redaction bars in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add redaction-bars --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render redaction-bars --props '{"title":"Courier report","text":"On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agent Lumen]. Inside were [three brass keys] and a note signed by [the director].","paper":"#F4ECDD","ink":"#1D2340","bar":"#1D2340","highlight":"#FFC628","stampColor":"#E8384F"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export redaction-bars --as mp4 --props '{"title":"Courier report","text":"On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agent Lumen]. Inside were [three brass keys] and a note signed by [the director].","paper":"#F4ECDD","ink":"#1D2340","bar":"#1D2340","highlight":"#FFC628","stampColor":"#E8384F"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="redaction-bars"
  props={{
    title: 'Courier report',
    text: 'On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agent Lumen]. Inside were [three brass keys] and a note signed by [the director].',
    paper: '#F4ECDD',
    ink: '#1D2340',
    bar: '#1D2340',
    highlight: '#FFC628',
    stampColor: '#E8384F',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="redaction-bars"
  props='{"title":"Courier report","text":"On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agent Lumen]. Inside were [three brass keys] and a note signed by [the director].","paper":"#F4ECDD","ink":"#1D2340","bar":"#1D2340","highlight":"#FFC628","stampColor":"#E8384F"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "redaction-bars",
      "props": {
        "title": "Courier report",
        "text": "On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agent Lumen]. Inside were [three brass keys] and a note signed by [the director].",
        "paper": "#F4ECDD",
        "ink": "#1D2340",
        "bar": "#1D2340",
        "highlight": "#FFC628",
        "stampColor": "#E8384F"
      }
    }
  ]
}

Redaction bars props

15 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
caseNo"Case file 07 · Northwind"small mono line over the title
title"Courier report"heading with a pink misregistered shadow
text"On the night of [12 March] the courier left [Harbor Gate] with a sealed case for [Agen…body text; wrap words in [square brackets] to redact them
reveal[0,2,3]which redactions lift (0-based, in order); the rest stay hidden
printAt16frame the first bar prints
printGap4frames between bar prints
liftAt62frame the first bar lifts
liftGap20frames between lifts
stamp"Declassified"stamp word at the end ("" = none)
stampAt130frame the stamp slams
paper"#F4ECDD"paper colour
ink"#1D2340"text ink
bar"#1D2340"redaction bar colour
highlight"#FFC628"highlighter under revealed words
stampColor"#E8384F"stamp ink

Notes & credits

Technique sources:

  • lemo-opuscar styles/halftone-dossier (MIT, LemoLab) — STYLE.md §8 Redaction, stamp ink filter