Opus Motion ★ Star on GitHub

Recipe · landscape · 3 layers

Aurora night hero

Dark website hero background or video title card: calm, premium, "wonder" mood. Put your headline in HTML on top (web) or in the title layer (video).

  • hero
  • background
  • dark
  • night
  • aurora
  • title
  • calm
  • premium
  • landing
Aurora night hero recipe preview
Aurora night hero — frames from the recipe.

Motions in this recipe

Use it in Remotion, React or HTML

CLI

CLI
# render the recipe to out/hero-aurora-night.mp4 (run in the library folder)
node cli/mgl.mjs recipe hero-aurora-night --overrides '{"blur-in-title":{"title":"LUMEN"}}'

# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add hero-aurora-night --to ../my-app/src

React

React
import {MotionBackground} from 'opus-motion-library/web';

// type layers are dropped: your HTML carries the words
<MotionBackground recipe="hero-aurora-night" scrim="linear-gradient(#0000 40%, #000a)"
  style={{minHeight: '80vh'}}>
  <h1>Your headline</h1>
</MotionBackground>

HTML

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

<opus-motion recipe="hero-aurora-night" background
  overrides='{"blur-in-title":{"title":"LUMEN"}}'>
</opus-motion>

recipes/hero-aurora-night.json

recipes/hero-aurora-night.json
{
  "id": "hero-aurora-night",
  "title": "Aurora night hero",
  "useFor": "Dark website hero background or video title card: calm, premium, \"wonder\" mood. Put your headline in HTML on top (web) or in the title layer (video).",
  "format": "landscape",
  "duration": 300,
  "background": "#03081C",
  "tags": [
    "hero",
    "background",
    "dark",
    "night",
    "aurora",
    "title",
    "calm",
    "premium",
    "landing"
  ],
  "web": {
    "loop": "crossfade",
    "textInHtml": true
  },
  "layers": [
    {
      "motion": "aurora",
      "role": "backdrop",
      "props": {
        "pixelSize": 0,
        "intensity": 0.95,
        "speed": 0.8,
        "curtains": 3
      }
    },
    {
      "motion": "embers",
      "role": "accent",
      "props": {
        "mode": "motes",
        "background": "transparent",
        "backdrop": false,
        "count": 18,
        "speed": 0.5,
        "color": "#bff5df"
      },
      "blend": "screen",
      "opacity": 0.7
    },
    {
      "motion": "blur-in-title",
      "role": "type",
      "from": 18,
      "props": {
        "title": "LUMEN",
        "subtitle": "light for the long night",
        "swapTo": null,
        "backdrop": "none",
        "background": "transparent",
        "layout": "upper",
        "size": 120,
        "tracking": 0.9,
        "fadeOut": false,
        "glow": 0.45,
        "subtitleColor": "#c3d2e4",
        "subtitleFont": "sans",
        "subtitleItalic": false
      }
    }
  ],
  "notes": "Change blur-in-title.title/subtitle (video) — on the web MotionBackground drops the type layer so your HTML headline sits there. Tint aurora.colors to the brand (e.g. [\"#7AA2FF\",\"#3B4FC4\",\"#1B2466\"])."
}