Opus Motion ★ Star on GitHub

UI · versus-roster

Versus roster

A row of square contender portraits separated by "vs", each in white corner brackets with a small name above; cards cut in from black, then each one in turn scales up while a mono bio types in below it, on a Klein-blue terminal screen with a scramble-decoded header and blackletter call to action.

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

Versus roster: three frames of the UI animation, start, middle and end
Versus roster — start, middle and end of the 4.3-second motion.

What Versus roster is for

"Four contenders" intros for comparisons, tournaments, model or product line-ups and team introductions.

  • versus
  • vs
  • roster
  • contenders
  • cards
  • portraits
  • line-up
  • comparison
  • tournament
  • ai agents
  • terminal
  • klein blue
  • blackletter
  • bio
  • hover
  • ui
  • game

Details

Category
UI & product mockup animations
Length
4.3 s (130 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
cards brand
Colour props
background colors bracketColor
Image props
images
Mood
ui
Roles
subject

Use Versus roster in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render versus-roster --props '{"cards":[{"name":"General Onyx","bio":"Cold, fast and blunt. I strike first and explain myself after the dust settles."},{"name":"General Atlas","bio":"Patient strategist. I map every ridge and river before a single soldier moves."},{"name":"General Vega","bio":"I see the whole board at once and play three turns ahead of everyone else."},{"name":"General Nova","bio":"Warm voice, iron will. I win by keeping my army alive longer than yours."}],"brand":"Project Lumen","background":"#1206A5","colors":["#8D8AB8","#A9D9D0","#CBB8F5","#E58682"],"bracketColor":"#FFFFFF","images":[]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export versus-roster --as mp4 --props '{"cards":[{"name":"General Onyx","bio":"Cold, fast and blunt. I strike first and explain myself after the dust settles."},{"name":"General Atlas","bio":"Patient strategist. I map every ridge and river before a single soldier moves."},{"name":"General Vega","bio":"I see the whole board at once and play three turns ahead of everyone else."},{"name":"General Nova","bio":"Warm voice, iron will. I win by keeping my army alive longer than yours."}],"brand":"Project Lumen","background":"#1206A5","colors":["#8D8AB8","#A9D9D0","#CBB8F5","#E58682"],"bracketColor":"#FFFFFF","images":[]}'

React / Next.js

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

<MotionPlayer
  motion="versus-roster"
  props={{
    cards: [
      {
        name: 'General Onyx',
        bio: 'Cold, fast and blunt. I strike first and explain myself after the dust settles.',
      },
      {
        name: 'General Atlas',
        bio: 'Patient strategist. I map every ridge and river before a single soldier moves.',
      },
      {
        name: 'General Vega',
        bio: 'I see the whole board at once and play three turns ahead of everyone else.',
      },
      {
        name: 'General Nova',
        bio: 'Warm voice, iron will. I win by keeping my army alive longer than yours.',
      },
    ],
    brand: 'Project Lumen',
    background: '#1206A5',
    colors: ['#8D8AB8', '#A9D9D0', '#CBB8F5', '#E58682'],
    bracketColor: '#FFFFFF',
    images: [],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="versus-roster"
  props='{"cards":[{"name":"General Onyx","bio":"Cold, fast and blunt. I strike first and explain myself after the dust settles."},{"name":"General Atlas","bio":"Patient strategist. I map every ridge and river before a single soldier moves."},{"name":"General Vega","bio":"I see the whole board at once and play three turns ahead of everyone else."},{"name":"General Nova","bio":"Warm voice, iron will. I win by keeping my army alive longer than yours."}],"brand":"Project Lumen","background":"#1206A5","colors":["#8D8AB8","#A9D9D0","#CBB8F5","#E58682"],"bracketColor":"#FFFFFF","images":[]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "versus-roster",
      "props": {
        "cards": [
          {
            "name": "General Onyx",
            "bio": "Cold, fast and blunt. I strike first and explain myself after the dust settles."
          },
          {
            "name": "General Atlas",
            "bio": "Patient strategist. I map every ridge and river before a single soldier moves."
          },
          {
            "name": "General Vega",
            "bio": "I see the whole board at once and play three turns ahead of everyone else."
          },
          {
            "name": "General Nova",
            "bio": "Warm voice, iron will. I win by keeping my army alive longer than yours."
          }
        ],
        "brand": "Project Lumen",
        "background": "#1206A5",
        "colors": [
          "#8D8AB8",
          "#A9D9D0",
          "#CBB8F5",
          "#E58682"
        ],
        "bracketColor": "#FFFFFF",
        "images": []
      }
    }
  ]
}

Versus roster props

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

PropDefaultWhat it does
background"#1206A5"screen colour (Klein blue)
cards[{"name":"General Onyx","bio":"Cold, fast and blunt. I strike first and explain myself …contenders: {name, bio, src?} (src = public/ image path; otherwise an abstract generated portrait)
images[]portrait images by index (alternative to cards[].src)
colors["#8D8AB8","#A9D9D0","#CBB8F5","#E58682"]accent colour per contender (name highlight while hovered, avatar tint)
header"#82 THE BATTLE FOR ASCENDANCY"mono header above the row (scramble-decodes in)
cta"Enter the Simulation"blackletter call to action, shown as [ … ]
brand"Project Lumen"top-left blackletter brand, shown as [ … ]
corner"SIMULATION 82"top-right mono label
separator"vs"text between cards
bracketColor"#FFFFFF"corner bracket colour
hoverStart26frame the first card enlarges
hoverEvery24frames each card stays enlarged
ghosttruefaint prompt-template panels behind
footerLeft"[ contact ]"bottom-left footer text ("" hides)
footerRight"[ rules ]"bottom-right footer text ("" hides)

Notes & credits

Technique sources:

  • video x6 4.6-8.1 s (four generals "vs" roster, hover bios)