Opus Motion ★ Star on GitHub

Data · pros-cons-columns

Pros and cons columns

Two cards (PROS in green, CONS in red) with coloured headers; items slide in alternately, each marked by a drawn tick or cross, and a verdict pill pops at the end.

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

Pros and cons columns: three frames of the animated chart, start, middle and end
Pros and cons columns — start, middle and end of the 9.0-second motion.

What Pros and cons columns is for

Decision videos, review / comparison summaries, "should you…?" explainers, tech / money / lifestyle trade-offs — pass `pros`, `cons` and an optional `verdict`.

  • pros
  • cons
  • compare
  • comparison
  • tick
  • cross
  • checklist
  • advantages
  • disadvantages
  • decision
  • review
  • columns
  • explainer
  • education

Details

Category
Animated charts & data visualisation
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
title verdict
Colour props
background ink accent accent2 card
Mood
ui
Roles
subject

Use Pros and cons columns in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render pros-cons-columns --props '{"title":"Working from home","verdict":"Great if you plan for the downsides","background":"#F1EEE7","ink":"#1B1D22","accent":"#1E9E6A","accent2":"#DB4437","card":"#FFFFFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export pros-cons-columns --as webm-alpha --props '{"title":"Working from home","verdict":"Great if you plan for the downsides","background":"#F1EEE7","ink":"#1B1D22","accent":"#1E9E6A","accent2":"#DB4437","card":"#FFFFFF"}'

React / Next.js

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

<MotionPlayer
  motion="pros-cons-columns"
  props={{
    title: 'Working from home',
    verdict: 'Great if you plan for the downsides',
    background: '#F1EEE7',
    ink: '#1B1D22',
    accent: '#1E9E6A',
    accent2: '#DB4437',
    card: '#FFFFFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="pros-cons-columns"
  props='{"title":"Working from home","verdict":"Great if you plan for the downsides","background":"#F1EEE7","ink":"#1B1D22","accent":"#1E9E6A","accent2":"#DB4437","card":"#FFFFFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "pros-cons-columns",
      "props": {
        "title": "Working from home",
        "verdict": "Great if you plan for the downsides",
        "background": "#F1EEE7",
        "ink": "#1B1D22",
        "accent": "#1E9E6A",
        "accent2": "#DB4437",
        "card": "#FFFFFF"
      }
    }
  ]
}

Pros and cons columns props

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

PropDefaultWhat it does
title"Working from home"heading above the columns (empty = none)
prosLabel"PROS"header of the positive card
consLabel"CONS"header of the negative card
pros["No commute","Flexible hours","Quiet focus time","Lower daily costs"]positive items (up to 6)
cons["Harder to switch off","Less face time","Feels isolating","Home distractions"]negative items (up to 6)
verdict"Great if you plan for the downsides"optional closing pill (empty = none)
background"#F1EEE7"backdrop colour or 'transparent'
ink"#1B1D22"text colour
accent"#1E9E6A"pros colour
accent2"#DB4437"cons colour
card"#FFFFFF"card fill
fontFamily""optional CSS font-family (empty = grotesk)
startAt0frame the title starts
stagger22frames between items

Notes & credits

Technique sources:

  • original (round 3)