Opus Motion ★ Star on GitHub

Product · order-confirmation

Order confirmation receipt

A check burst and headline beside a receipt card with a zig-zag edge: item lines slide in, subtotal / shipping / tax appear, the total counts up, then a barcode and a delivery-note chip.

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

Order confirmation receipt: three frames of the product animation, start, middle and end
Order confirmation receipt — start, middle and end of the 5.7-second motion.

What Order confirmation receipt is for

Checkout success beats, "thanks for your order" emails turned into video, e-commerce app explainers, receipt / invoice reveals — set the items, currency, labels and colours.

  • order
  • confirmation
  • receipt
  • checkout
  • ecommerce
  • success
  • thank you
  • invoice
  • retail
  • store
  • check

Details

Category
Product & e-commerce animations
Length
5.7 s (170 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title subtitle items
Colour props
orderNumber background card ink accent
Mood
—
Roles
subject

Use Order confirmation receipt in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render order-confirmation --props '{"title":"Order confirmed","subtitle":"Thanks for shopping with us. A receipt is on its way to your inbox.","items":[{"name":"Canvas Tote Bag","price":24,"qty":1},{"name":"Ceramic Mug","price":16,"qty":2},{"name":"Desk Lamp","price":48,"qty":1}],"orderNumber":"#100428","background":"#EEF1F6","card":"#FFFFFF","ink":"#18202E","accent":"#18B26B"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export order-confirmation --as webm-alpha --props '{"title":"Order confirmed","subtitle":"Thanks for shopping with us. A receipt is on its way to your inbox.","items":[{"name":"Canvas Tote Bag","price":24,"qty":1},{"name":"Ceramic Mug","price":16,"qty":2},{"name":"Desk Lamp","price":48,"qty":1}],"orderNumber":"#100428","background":"#EEF1F6","card":"#FFFFFF","ink":"#18202E","accent":"#18B26B"}'

React / Next.js

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

<MotionPlayer
  motion="order-confirmation"
  props={{
    title: 'Order confirmed',
    subtitle: 'Thanks for shopping with us. A receipt is on its way to your inbox.',
    items: [
      {name: 'Canvas Tote Bag', price: 24, qty: 1},
      {name: 'Ceramic Mug', price: 16, qty: 2},
      {name: 'Desk Lamp', price: 48, qty: 1},
    ],
    orderNumber: '#100428',
    background: '#EEF1F6',
    card: '#FFFFFF',
    ink: '#18202E',
    accent: '#18B26B',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="order-confirmation"
  props='{"title":"Order confirmed","subtitle":"Thanks for shopping with us. A receipt is on its way to your inbox.","items":[{"name":"Canvas Tote Bag","price":24,"qty":1},{"name":"Ceramic Mug","price":16,"qty":2},{"name":"Desk Lamp","price":48,"qty":1}],"orderNumber":"#100428","background":"#EEF1F6","card":"#FFFFFF","ink":"#18202E","accent":"#18B26B"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "order-confirmation",
      "props": {
        "title": "Order confirmed",
        "subtitle": "Thanks for shopping with us. A receipt is on its way to your inbox.",
        "items": [
          {
            "name": "Canvas Tote Bag",
            "price": 24,
            "qty": 1
          },
          {
            "name": "Ceramic Mug",
            "price": 16,
            "qty": 2
          },
          {
            "name": "Desk Lamp",
            "price": 48,
            "qty": 1
          }
        ],
        "orderNumber": "#100428",
        "background": "#EEF1F6",
        "card": "#FFFFFF",
        "ink": "#18202E",
        "accent": "#18B26B"
      }
    }
  ]
}

Order confirmation receipt props

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

PropDefaultWhat it does
title"Order confirmed"headline
subtitle"Thanks for shopping with us. A receipt is on its way to your inbox."sentence under the headline
orderLabel"Order"small caps label before the order number
orderNumber"#100428"order number text
items[{"name":"Canvas Tote Bag","price":24,"qty":1},{"name":"Ceramic Mug","price":16,"qty":2…receipt lines [{name, price, qty?}] (first 5 shown)
currency"$"currency prefix
shipping0shipping cost (0 shows the free label)
tax8.32tax amount
subtotalLabel"Subtotal"label of the subtotal line
shippingLabel"Shipping"label of the shipping line
taxLabel"Tax"label of the tax line
totalLabel"Total"label of the total line
freeLabel"Free"text shown when shipping is 0
deliveryNote"Estimated delivery: 3-5 days"text in the delivery chip
textColor""colour of the headline / sub-line / chip on the page background; empty = automatic light or dark from the background
background"#EEF1F6"page colour or 'transparent'
card"#FFFFFF"receipt colour
ink"#18202E"text colour
accent"#18B26B"check burst and total colour
startAt0frame the scene starts

Notes & credits

Technique sources:

  • original (round 3)