Opus Motion ★ Star on GitHub

UI · checkout-steps

Checkout steps (cart → shipping → payment → done)

A four-step checkout flow: the stepper line fills, the cart lines slide in, shipping fields type themselves, payment shows masked placeholder values, and the last step is a confirmation with a check burst.

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

Checkout steps (cart → shipping → payment → done): three frames of the UI animation, start, middle and end
Checkout steps (cart → shipping → payment → done) — start, middle and end of the 8.0-second motion.

What Checkout steps (cart → shipping → payment → done) is for

E-commerce / SaaS checkout explainers, "buy in 4 steps" videos, store onboarding — set the step names, items, fields, currency and brand colours.

  • checkout
  • ecommerce
  • stepper
  • payment
  • shipping
  • cart
  • form
  • ui
  • steps
  • store
  • retail
  • order

Details

Category
UI & product mockup animations
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
items
Colour props
background card ink accent
Mood
ui
Roles
subject

Use Checkout steps (cart → shipping → payment → done) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render checkout-steps --props '{"items":[{"name":"Canvas Tote Bag","price":24,"qty":1,"kind":0},{"name":"Ceramic Mug","price":16,"qty":2,"kind":1},{"name":"Desk Lamp","price":48,"qty":1,"kind":6}],"background":"#EEF0F6","card":"#FFFFFF","ink":"#1B2233","accent":"#2F6BFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export checkout-steps --as webm-alpha --props '{"items":[{"name":"Canvas Tote Bag","price":24,"qty":1,"kind":0},{"name":"Ceramic Mug","price":16,"qty":2,"kind":1},{"name":"Desk Lamp","price":48,"qty":1,"kind":6}],"background":"#EEF0F6","card":"#FFFFFF","ink":"#1B2233","accent":"#2F6BFF"}'

React / Next.js

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

<MotionPlayer
  motion="checkout-steps"
  props={{
    items: [
      {name: 'Canvas Tote Bag', price: 24, qty: 1, kind: 0},
      {name: 'Ceramic Mug', price: 16, qty: 2, kind: 1},
      {name: 'Desk Lamp', price: 48, qty: 1, kind: 6},
    ],
    background: '#EEF0F6',
    card: '#FFFFFF',
    ink: '#1B2233',
    accent: '#2F6BFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="checkout-steps"
  props='{"items":[{"name":"Canvas Tote Bag","price":24,"qty":1,"kind":0},{"name":"Ceramic Mug","price":16,"qty":2,"kind":1},{"name":"Desk Lamp","price":48,"qty":1,"kind":6}],"background":"#EEF0F6","card":"#FFFFFF","ink":"#1B2233","accent":"#2F6BFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "checkout-steps",
      "props": {
        "items": [
          {
            "name": "Canvas Tote Bag",
            "price": 24,
            "qty": 1,
            "kind": 0
          },
          {
            "name": "Ceramic Mug",
            "price": 16,
            "qty": 2,
            "kind": 1
          },
          {
            "name": "Desk Lamp",
            "price": 48,
            "qty": 1,
            "kind": 6
          }
        ],
        "background": "#EEF0F6",
        "card": "#FFFFFF",
        "ink": "#1B2233",
        "accent": "#2F6BFF"
      }
    }
  ]
}

Checkout steps (cart → shipping → payment → done) props

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

PropDefaultWhat it does
steps["Cart","Shipping","Payment","Done"]step names (2+). First = cart review, last = confirmation, the ones between are forms
items[{"name":"Canvas Tote Bag","price":24,"qty":1,"kind":0},{"name":"Ceramic Mug","price":1…cart lines [{name, price, qty?, src?, color?, kind?}] (first 5 shown; kind = procedural drawing 0-7 when no src)
shippingFields[{"label":"Full name","value":"Alex Morgan"},{"label":"Street address","value":"12 Samp…form fields for the shipping step [{label, value}]
paymentFields[{"label":"Card number","value":"•••• •••• •••• ••••"},{"label":"Expiry","value":"••/••…form fields for the payment step — keep these masked, never real card data
buttonLabels["Continue to shipping","Continue to payment","Place order"]primary button text per step
currency"$"currency prefix
cartTitle"Your cart"heading of the cart step
totalLabel"Total"label before the cart total
doneTitle"Order placed"headline on the last step
doneText"A confirmation is on its way to your inbox."sub-line on the last step
hold54frames each step stays on screen
background"#EEF0F6"page colour or 'transparent'
card"#FFFFFF"panel colour
ink"#1B2233"text colour
accent"#2F6BFF"stepper, button and check colour
startAt0frame the flow starts

Notes & credits

Technique sources:

  • original (round 3)