HUD · zoom-inset-box
Zoom inset box
Tutorial overlay: a dashed box marks a small region, connector lines run from its corners and a magnified inset (a crop of the same picture) grows out of it into a free corner with a zoom badge. Pass the footage frame as `src`; without one it magnifies a built-in mock screen.
A free, MIT-licensed HUD graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Zoom inset box is for
Show tiny UI detail legibly in a screen recording (a menu item, a number, a toggle): set `zooms` with the source region, the inset position and a still of the footage in `src`.
Details
- Category
- HUD & sci-fi interface 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
zooms- Colour props
colorborderColorlabelBglabelInk- Image props
src- Mood
- photo
- Roles
- frame, accent
- Pairs with
- Cursor driver (operated UI), Hand-drawn arrow callout, Click ripple markers
Use Zoom inset box in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add zoom-inset-box --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render zoom-inset-box --props '{"zooms":[{"region":{"x":0.43,"y":0.2,"w":0.14,"h":0.2},"inset":{"x":0.66,"y":0.15,"w":0.27}}],"color":"#FFD60A","borderColor":"#FFFFFF","labelBg":"#FFD60A","labelInk":"#15171C","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export zoom-inset-box --as webm-alpha --props '{"zooms":[{"region":{"x":0.43,"y":0.2,"w":0.14,"h":0.2},"inset":{"x":0.66,"y":0.15,"w":0.27}}],"color":"#FFD60A","borderColor":"#FFFFFF","labelBg":"#FFD60A","labelInk":"#15171C","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="zoom-inset-box"
props={{
zooms: [
{
region: {x: 0.43, y: 0.2, w: 0.14, h: 0.2},
inset: {x: 0.66, y: 0.15, w: 0.27},
},
],
color: '#FFD60A',
borderColor: '#FFFFFF',
labelBg: '#FFD60A',
labelInk: '#15171C',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="zoom-inset-box"
props='{"zooms":[{"region":{"x":0.43,"y":0.2,"w":0.14,"h":0.2},"inset":{"x":0.66,"y":0.15,"w":0.27}}],"color":"#FFD60A","borderColor":"#FFFFFF","labelBg":"#FFD60A","labelInk":"#15171C","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "zoom-inset-box",
"props": {
"zooms": [
{
"region": {
"x": 0.43,
"y": 0.2,
"w": 0.14,
"h": 0.2
},
"inset": {
"x": 0.66,
"y": 0.15,
"w": 0.27
}
}
],
"color": "#FFD60A",
"borderColor": "#FFFFFF",
"labelBg": "#FFD60A",
"labelInk": "#15171C",
"src": ""
}
}
]
}Zoom inset box props
14 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
zooms | [{"region":{"x":0.43,"y":0.2,"w":0.14,"h":0.2},"inset":{"x":0.66,"y":0.15,"w":0.27}}] | array of {region:{x,y,w,h}, inset:{x,y,w}, label?, at?}: region = source box (0-1, x/y = top-left), inset = landing spot (x/y top-left, w = width fraction), label overrides the auto "2.5x" |
src | "" | public/ path or URL of the frame to magnify (same picture as the footage); empty = mock screen |
color | "#FFD60A" | region box and connector colour |
borderColor | "#FFFFFF" | inset border colour |
labelBg | "#FFD60A" | zoom badge fill |
labelInk | "#15171C" | zoom badge text colour |
fontFamily | "stub" | CSS font-family for the badge |
showZoomLabel | true | show the zoom-factor badge under the inset |
startAt | 10 | frame of the first zoom |
stagger | 60 | frames between zooms |
speed | 1 | animation speed multiplier |
exitAt | 0 | frame everything fades at (0 = just before the end) |
demoBackground | false | true paints a neutral mock screen behind (previews); false = transparent overlay (the inset still shows its crop) |
demoTone | "light" | light | dark mock screen |
Related motions

Click ripple markers
Show exactly where and when something was clicked in a screen recording, UX test replay or bug report: pass `clicks` with x/y, the frame…
click-ripple-markers
Hand-drawn arrow callout
Point at a button, field or number in any screen recording or tutorial ("click here", "watch this"): pass `callouts` with the target x/y…
hand-drawn-arrow-callout
Cursor driver (operated UI)
Every UI demo, SaaS launch, tutorial and app preview: lay it over browser-mockup / device-mockup / ui-shape-morph with keys in % of the…
cursor-driver
Magnification roundel
Detail insets for any explainer: product feature zooms, anatomy, map insets, museum plates; style-agnostic loupe callouts.
magnification-roundel
Blur / pixelate redact region
Hide names, emails, keys or faces in a screen recording or screenshot walkthrough: pass `regions` (0-1 rects) with a `mode` and a label…
blur-redact-region
Numbered step badges
Number the steps of a how-to on top of a screen recording or screenshot ("1 pick a file, 2 choose a format, 3 export"): pass `steps` with…
numbered-step-badges
Notes & credits
Pass src = a still of the same footage frame so the inset magnifies the real picture; without src it magnifies the built-in mock screen.
Technique sources:
- screen-recording tutorial annotation