Opus Motion ★ Star on GitHub

Worlds · mesh-gradient-bg

Mesh gradient backdrop

Big soft pools of violet, blue, cyan and magenta light drifting slowly over an indigo-black base, gently breathing, with an optional ripple of light and fine grain: the 2025-26 tech-brand backdrop.

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

Mesh gradient backdrop: three frames of the animated background, start, middle and end
Mesh gradient backdrop — start, middle and end of the 8.0-second motion.

What Mesh gradient backdrop is for

Hero sections, AI product pages, keynote slides and any video that needs a calm premium moving backdrop. Cheap CSS mode: safe as a website MotionBackground (overlay=true for transparent base).

  • background
  • backdrop
  • mesh gradient
  • aurora
  • gradient
  • hero
  • website
  • ai
  • tech
  • saas
  • calm
  • loop
  • overlay
  • violet
  • blur
  • blobs

Details

Category
Animated worlds & backdrops
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
—
Colour props
colors base
Mood
nature, ui
Roles
backdrop, accent

Use Mesh gradient backdrop in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render mesh-gradient-bg --props '{"colors":["#7c3aed","#2563eb","#06b6d4","#d946ef"],"base":"#07061c"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export mesh-gradient-bg --as webm-alpha --props '{"colors":["#7c3aed","#2563eb","#06b6d4","#d946ef"],"base":"#07061c"}'

React / Next.js

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

<MotionPlayer
  motion="mesh-gradient-bg"
  props={{
    colors: ['#7c3aed', '#2563eb', '#06b6d4', '#d946ef'],
    base: '#07061c',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="mesh-gradient-bg"
  props='{"colors":["#7c3aed","#2563eb","#06b6d4","#d946ef"],"base":"#07061c"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "mesh-gradient-bg",
      "props": {
        "colors": [
          "#7c3aed",
          "#2563eb",
          "#06b6d4",
          "#d946ef"
        ],
        "base": "#07061c"
      }
    }
  ]
}

Mesh gradient backdrop props

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

PropDefaultWhat it does
colors["#7c3aed","#2563eb","#06b6d4","#d946ef"]pool colours (cycled over the blobs)
base"#07061c"base colour behind the pools
blobs7number of light pools (5-9)
speed2.2drift speed multiplier (1 = 24-40 s loops, default 2.2 so an 8 s clip visibly moves)
warp90shape breathing / rotation amplitude, 0 = rigid
rippleAt90frame of a light ripple that pushes the pools outward (-1 = none)
grain0.16film-grain opacity 0-0.4
motes28tiny drifting dust specks
seed7layout seed
overlayfalsetransparent base so it layers over host content

Notes & credits

Technique sources:

  • mg-styles-15 demos/12-aurora-glass (MIT, FS_AURORA + BLOBS loops)