Opus Motion ★ Star on GitHub

UI · card-stack-cascade

Card stack cascade (bento + focus)

Feature cards scale in from 30 % with a fade, staggered 4 f apart, into a bento grid (or a row, or a fanned deck) with a gentle idle float; then one card flies to the centre and grows to ~60 % of the frame while the rest dim to 40 % and defocus, and everything settles back.

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

Card stack cascade (bento + focus): three frames of the UI animation, start, middle and end
Card stack cascade (bento + focus) — start, middle and end of the 7.0-second motion.

What Card stack cascade (bento + focus) is for

Feature overviews in launch videos, website sections, pricing / plan reveals: pass `cards` (title, body, icon, span "2x1"), choose `layout`, set `focusIndex`.

  • cards
  • bento
  • grid
  • features
  • feature overview
  • cascade
  • stack
  • deck
  • focus
  • pricing
  • plans
  • website section
  • launch
  • ui
  • saas
  • product

Details

Category
UI & product mockup animations
Length
7.0 s (210 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
cards
Colour props
accent
Mood
ui
Roles
subject

Use Card stack cascade (bento + focus) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render card-stack-cascade --props '{"cards":[{"title":"Realtime sync","body":"Every change lands on every device in under a second.","icon":"bolt","span":"2x2"},{"title":"Private by default","body":"End-to-end encrypted.","icon":"shield"},{"title":"Insights","body":"Dashboards that explain themselves.","icon":"chart"},{"title":"Team chat","body":"Talk where the work is.","icon":"chat"},{"title":"Global scale","body":"Edge regions worldwide.","icon":"globe"},{"title":"Automations","body":"Hand the boring parts to a workflow that never sleeps.","icon":"spark","span":"2x1"}],"accent":"#5B5FEF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export card-stack-cascade --as mp4 --props '{"cards":[{"title":"Realtime sync","body":"Every change lands on every device in under a second.","icon":"bolt","span":"2x2"},{"title":"Private by default","body":"End-to-end encrypted.","icon":"shield"},{"title":"Insights","body":"Dashboards that explain themselves.","icon":"chart"},{"title":"Team chat","body":"Talk where the work is.","icon":"chat"},{"title":"Global scale","body":"Edge regions worldwide.","icon":"globe"},{"title":"Automations","body":"Hand the boring parts to a workflow that never sleeps.","icon":"spark","span":"2x1"}],"accent":"#5B5FEF"}'

React / Next.js

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

<MotionPlayer
  motion="card-stack-cascade"
  props={{
    cards: [
      {
        title: 'Realtime sync',
        body: 'Every change lands on every device in under a second.',
        icon: 'bolt',
        span: '2x2',
      },
      {
        title: 'Private by default',
        body: 'End-to-end encrypted.',
        icon: 'shield',
      },
      {
        title: 'Insights',
        body: 'Dashboards that explain themselves.',
        icon: 'chart',
      },
      {title: 'Team chat', body: 'Talk where the work is.', icon: 'chat'},
      {
        title: 'Global scale',
        body: 'Edge regions worldwide.',
        icon: 'globe',
      },
      {
        title: 'Automations',
        body: 'Hand the boring parts to a workflow that never sleeps.',
        icon: 'spark',
        span: '2x1',
      },
    ],
    accent: '#5B5FEF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="card-stack-cascade"
  props='{"cards":[{"title":"Realtime sync","body":"Every change lands on every device in under a second.","icon":"bolt","span":"2x2"},{"title":"Private by default","body":"End-to-end encrypted.","icon":"shield"},{"title":"Insights","body":"Dashboards that explain themselves.","icon":"chart"},{"title":"Team chat","body":"Talk where the work is.","icon":"chat"},{"title":"Global scale","body":"Edge regions worldwide.","icon":"globe"},{"title":"Automations","body":"Hand the boring parts to a workflow that never sleeps.","icon":"spark","span":"2x1"}],"accent":"#5B5FEF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "card-stack-cascade",
      "props": {
        "cards": [
          {
            "title": "Realtime sync",
            "body": "Every change lands on every device in under a second.",
            "icon": "bolt",
            "span": "2x2"
          },
          {
            "title": "Private by default",
            "body": "End-to-end encrypted.",
            "icon": "shield"
          },
          {
            "title": "Insights",
            "body": "Dashboards that explain themselves.",
            "icon": "chart"
          },
          {
            "title": "Team chat",
            "body": "Talk where the work is.",
            "icon": "chat"
          },
          {
            "title": "Global scale",
            "body": "Edge regions worldwide.",
            "icon": "globe"
          },
          {
            "title": "Automations",
            "body": "Hand the boring parts to a workflow that never sleeps.",
            "icon": "spark",
            "span": "2x1"
          }
        ],
        "accent": "#5B5FEF"
      }
    }
  ]
}

Card stack cascade (bento + focus) props

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

PropDefaultWhat it does
cards[{"title":"Realtime sync","body":"Every change lands on every device in under a second.…[{title, body?, icon?: bolt|shield|chart|chat|globe|spark|lock|cog|user|db|cloud|star, image?: public path, span?: "2x1" | number of columns}]
layout"bento"'bento' grid | 'row' | 'stack' (fanned deck)
focusAt104frame when the focused card flies to the centre
focusIndex1which card is focused (0-based)
unfocusAt176frame when everything settles back (0 = never)
stagger4frames between card entrances (3-5)
dimTo0.4opacity of the other cards during focus
darkfalsedark theme
accent"#5B5FEF"focused card accent
background""background colour (empty = theme default)

Notes & credits

Technique sources:

  • prompt-corpus: card-stack-cascade (35 cases)
  • awesome-opus5-5-videos prompts (MIT) — technique only