Opus Motion ★ Star on GitHub

Music · now-playing-card

Now playing card (album art + scrubber + controls)

Streaming-app style now-playing card: album art, track / artist / album, a gradient scrubber with elapsed and remaining time, shuffle / previous / play-pause / next / repeat controls and a like heart. The play button is pressed (play becomes pause, scrubber starts) and the heart pops, with an equalizer glyph in the corner. Horizontal card on landscape and square, vertical card on portrait.

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

Now playing card (album art + scrubber + controls): three frames of the music visualizer, start, middle and end
Now playing card (album art + scrubber + controls) — start, middle and end of the 6.0-second motion.

What Now playing card (album art + scrubber + controls) is for

Music release and playlist promos, "now playing" overlays for streams and radio, app-store screenshots for audio apps, podcast and audiobook UI beats. Swap track, artist and cover art; pass audioSrc to make the art breathe.

  • now playing
  • music
  • player
  • card
  • album
  • scrubber
  • controls
  • spotify
  • streaming
  • playlist
  • track
  • ui
  • audio
  • overlay
  • play button
  • song

Details

Category
Music visualisers & audio graphics
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
label
Colour props
background cardColor ink accent accent2
Mood
nature, ui
Roles
accent

Use Now playing card (album art + scrubber + controls) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render now-playing-card --props '{"label":"Now playing","background":"#0B0D18","cardColor":"#181B2C","ink":"#F4F5FB","accent":"#3DDC97","accent2":"#5B8CFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export now-playing-card --as webm-alpha --props '{"label":"Now playing","background":"#0B0D18","cardColor":"#181B2C","ink":"#F4F5FB","accent":"#3DDC97","accent2":"#5B8CFF"}'

React / Next.js

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

<MotionPlayer
  motion="now-playing-card"
  props={{
    label: 'Now playing',
    background: '#0B0D18',
    cardColor: '#181B2C',
    ink: '#F4F5FB',
    accent: '#3DDC97',
    accent2: '#5B8CFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="now-playing-card"
  props='{"label":"Now playing","background":"#0B0D18","cardColor":"#181B2C","ink":"#F4F5FB","accent":"#3DDC97","accent2":"#5B8CFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "now-playing-card",
      "props": {
        "label": "Now playing",
        "background": "#0B0D18",
        "cardColor": "#181B2C",
        "ink": "#F4F5FB",
        "accent": "#3DDC97",
        "accent2": "#5B8CFF"
      }
    }
  ]
}

Now playing card (album art + scrubber + controls) props

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

PropDefaultWhat it does
track"Golden Hour Drive"track title (wraps to 2 lines on portrait, ellipsised on 1 line otherwise)
artist"Sample Artist"artist name
album"Night Signals - Single"album / playlist / episode line
label"Now playing"small caps label above the title
coverSrc""album art (public/ path or URL); empty = procedural gradient cover
audioSrc""optional track path/URL: art breathes to its bass; empty = synthetic beat
playAudiofalsealso play audioSrc in this layer (leave false if the composition already plays it)
startSec42playback position at the start (seconds)
totalSec214track length in seconds
scrubSpeed4how many times faster than real time the scrubber advances (so it visibly moves in a short clip)
startPausedtruetrue = starts paused and the play button is pressed at pressAt; false = already playing
pressAt36frame the play button is pressed (when startPaused)
likeAt100frame the like heart pops; -1 = never
background"#0B0D18"page background, or 'transparent' to overlay on video
cardColor"#181B2C"card fill colour
ink"#F4F5FB"text colour
accent"#3DDC97"play button, label, heart and scrubber start colour
accent2"#5B8CFF"scrubber end colour and cover gradient
fontFamily""optional CSS font-family for all text (default: Space Grotesk + Inter)
seed11procedural cover seed

Notes & credits

Technique sources:

  • original (now-playing widget pattern)