Opus Motion ★ Star on GitHub

UI · inspector-popover

Inspector popover

A floating property card next to a selected isometric object: title with close ×, one-line description, segmented chips (active chip navy), a teal slider whose knob and value move with the dragged object, a toggle, and a "+ ZOOM TO IT" button with a hint. It scales/fades in on click, swaps chips in one frame and fades out on step change.

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

Inspector popover: three frames of the UI animation, start, middle and end
Inspector popover — start, middle and end of the 5.7-second motion.

What Inspector popover is for

Product UI demos, design-tool and configurator promos, "tweak a parameter" explainers.

  • popover
  • inspector
  • properties
  • panel
  • card
  • slider
  • chips
  • toggle
  • configurator
  • selected-object
  • tooltip
  • ui
  • product-ui
  • isometric
  • design-tool
  • tweak

Details

Category
UI & product mockup animations
Length
5.7 s (170 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title unit
Colour props
accent navy background
Mood
3d, ui
Roles
subject

Use Inspector popover in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render inspector-popover --props '{"title":"DISTANCE TARGET","unit":"cm","accent":"#21A69A","navy":"#181B30","background":"#F4ECDB"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export inspector-popover --as mp4 --props '{"title":"DISTANCE TARGET","unit":"cm","accent":"#21A69A","navy":"#181B30","background":"#F4ECDB"}'

React / Next.js

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

<MotionPlayer
  motion="inspector-popover"
  props={{
    title: 'DISTANCE TARGET',
    unit: 'cm',
    accent: '#21A69A',
    navy: '#181B30',
    background: '#F4ECDB',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="inspector-popover"
  props='{"title":"DISTANCE TARGET","unit":"cm","accent":"#21A69A","navy":"#181B30","background":"#F4ECDB"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "inspector-popover",
      "props": {
        "title": "DISTANCE TARGET",
        "unit": "cm",
        "accent": "#21A69A",
        "navy": "#181B30",
        "background": "#F4ECDB"
      }
    }
  ]
}

Inspector popover props

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

PropDefaultWhat it does
title"DISTANCE TARGET"card title
description"Pick what the sensor sees and slide it closer or further away."one-line description
chips["Car","Box","Ball","Wall"]segmented chip labels (car, box, ball, wall, sensor, servo, led, motor pick the scene object)
activeChip0initially active chip index
switchChipTo2chip index to switch to at switchAt (-1 = never)
switchAt92frame of the 1-frame chip swap
sliderLabel"Distance"slider caption
sliderFrom17slider value at the start of the drag
sliderTo50slider value after the drag
sliderMin5slider minimum
sliderMax60slider maximum
unit"cm"value unit
sliderAt36frame the drag starts (0.9 s long)
toggle"Drive back and forth while running"toggle label
toggleAt112frame the toggle switches on
button"+ Zoom to it"button label
hint"or drag it in the scene"teal hint next to the button
openAt16frame the object is clicked and the card opens
closeAt154frame the card fades out (step change)
accent"#21A69A"teal accent
navy"#181B30"active chip colour
background"#F4ECDB"paper colour
scenetruedraw the iso scene with the selected object (off = card only)

Notes & credits

Technique sources:

  • video x8 0:15.5-0:20.2, 0:44-0:53.8