Opus Motion ★ Star on GitHub

Type · key-takeaway-highlight

Key takeaway highlight

A reading paragraph whose key phrases are swiped with a marker one by one, followed by a KEY TAKEAWAY box with a lightbulb and a one-line summary.

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

Key takeaway highlight: three frames of the text animation, start, middle and end
Key takeaway highlight — start, middle and end of the 9.0-second motion.

What Key takeaway highlight is for

Lesson recaps, article / study summaries, "what to remember" endings, explainer chapters — pass your paragraph, the phrases to highlight and the takeaway line.

  • highlight
  • marker
  • takeaway
  • summary
  • key
  • paragraph
  • recap
  • lesson
  • education
  • explainer
  • text
  • reading

Details

Category
Text animations & kinetic typography
Length
9.0 s (270 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
text
Colour props
background ink accent accent2 card
Mood
—
Roles
type

Use Key takeaway highlight in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render key-takeaway-highlight --props '{"text":"Compound interest means you earn interest on your interest. Even a small amount invested early can grow far larger than a bigger amount invested late, because time does most of the work. The first years feel slow, then growth speeds up.","background":"#F4EFE3","ink":"#1F1D1A","accent":"#FFC21A","accent2":"#7FD6C2","card":"#FFFFFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export key-takeaway-highlight --as webm-alpha --props '{"text":"Compound interest means you earn interest on your interest. Even a small amount invested early can grow far larger than a bigger amount invested late, because time does most of the work. The first years feel slow, then growth speeds up.","background":"#F4EFE3","ink":"#1F1D1A","accent":"#FFC21A","accent2":"#7FD6C2","card":"#FFFFFF"}'

React / Next.js

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

<MotionPlayer
  motion="key-takeaway-highlight"
  props={{
    text: 'Compound interest means you earn interest on your interest. Even a small amount invested early can grow far larger than a bigger amount invested late, because time does most of the work. The first years feel slow, then growth speeds up.',
    background: '#F4EFE3',
    ink: '#1F1D1A',
    accent: '#FFC21A',
    accent2: '#7FD6C2',
    card: '#FFFFFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="key-takeaway-highlight"
  props='{"text":"Compound interest means you earn interest on your interest. Even a small amount invested early can grow far larger than a bigger amount invested late, because time does most of the work. The first years feel slow, then growth speeds up.","background":"#F4EFE3","ink":"#1F1D1A","accent":"#FFC21A","accent2":"#7FD6C2","card":"#FFFFFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "key-takeaway-highlight",
      "props": {
        "text": "Compound interest means you earn interest on your interest. Even a small amount invested early can grow far larger than a bigger amount invested late, because time does most of the work. The first years feel slow, then growth speeds up.",
        "background": "#F4EFE3",
        "ink": "#1F1D1A",
        "accent": "#FFC21A",
        "accent2": "#7FD6C2",
        "card": "#FFFFFF"
      }
    }
  ]
}

Key takeaway highlight props

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

PropDefaultWhat it does
text"Compound interest means you earn interest on your interest. Even a small amount invest…the paragraph shown on screen
highlights["interest on your interest","invested early","time does most of the work"]phrases inside `text` to marker-highlight, in the order they are swiped (matched case-insensitively)
takeaway"Start early: time matters more than the amount."summary sentence in the takeaway box
takeawayLabel"KEY TAKEAWAY"label above the takeaway
background"#F4EFE3"backdrop colour or 'transparent'
ink"#1F1D1A"text colour
accent"#FFC21A"marker colour (odd highlights), takeaway border and lightbulb
accent2"#7FD6C2"marker colour for every second highlight
card"#FFFFFF"takeaway box fill
fontFamily""optional CSS font-family for the paragraph (empty = serif)
startAt0frame the paragraph starts fading in
speed1playback speed multiplier
stagger26frames between marker swipes

Notes & credits

Technique sources:

  • original (round 3)