Opus Motion ★ Star on GitHub

Type · chapter-header

Chapter header

Numbered chapter/stage header that steps through titles: tracked title + segmented progress bar, era badge card, or vertical location tag.

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

Chapter header: three frames of the text animation, start, middle and end
Chapter header — start, middle and end of the 6.0-second motion.

What Chapter header is for

Step-by-step explainers, timelines, era/location markers and chapter breaks.

  • chapter
  • title
  • progress
  • badge
  • label
  • timeline
  • fight banner
  • verdict
  • round
  • announcement
  • versus
  • fantasy
  • story
  • chapter card
  • ornament
  • ember

Details

Category
Text animations & kinetic typography
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
stages
Colour props
color accent bandColor goldColor
Image props
src
Mood
light, editorial
Roles
type
Pairs with
Line-art draw-on, Flow lines (wind / heat / steam / waves), Ken Burns push / pull / tilt, Map route

Use Chapter header in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render chapter-header --props '{"stages":[],"color":"#f0f4f6","accent":"#c14d3c","bandColor":"#070224","goldColor":"#F8CB61","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export chapter-header --as webm-alpha --props '{"stages":[],"color":"#f0f4f6","accent":"#c14d3c","bandColor":"#070224","goldColor":"#F8CB61","src":""}'

React / Next.js

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

<MotionPlayer
  motion="chapter-header"
  props={{
    stages: [],
    color: '#f0f4f6',
    accent: '#c14d3c',
    bandColor: '#070224',
    goldColor: '#F8CB61',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="chapter-header"
  props='{"stages":[],"color":"#f0f4f6","accent":"#c14d3c","bandColor":"#070224","goldColor":"#F8CB61","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "chapter-header",
      "props": {
        "stages": [],
        "color": "#f0f4f6",
        "accent": "#c14d3c",
        "bandColor": "#070224",
        "goldColor": "#F8CB61",
        "src": ""
      }
    }
  ]
}

Chapter header props

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

PropDefaultWhat it does
variant"stage"stage (video8 top-left block) | era (video14 top-right year card) | location (video10 vertical tag) | fight-banner (tilted dark band snapping across the frame, heavy italic gold word + sub-line; title = word, subtitle = sub) | fantasy (radial navy card, CHAPTER I capitals over a gold diamond ornament, glowing italic serif name, drifting ember; title = name, subtitle = chapter label)
stages[][{title, subtitle}] stepped through in order; [] = built-in sample for the variant
stageFrames56frames per stage
startFrame8frame the first stage appears
startIndex1stage: number shown for the first stage
total8stage: total count shown after the slash (progress dashes = total + 1)
scale1.25overall size multiplier (1 = source size at 1080p)
color"#f0f4f6"text colour (stage) / letter + border colour (location)
accent"#c14d3c"location tag fill
backdrop"auto"auto (dunes / warm / dusk per variant) | any backdrop kind
src""optional public/ image behind the header
position"bottom"fight-banner: band 'top' or 'bottom'
angle-4fight-banner: band tilt in degrees (-4)
bandColor"#070224"fight-banner: band colour
goldColor"#F8CB61"fight-banner / fantasy: gold rules, word and ornament colour
ornament"diamond-line"fantasy: 'diamond-line' | 'none'
embertruefantasy: drifting ember particle

Notes & credits

Technique sources:

  • video8 0:00-0:36
  • video17 0:00-0:39
  • video14 0:00-2:06
  • video10 0:14.5-0:16.4