UI · talking-head-pip
Talking head PiP
The speaker (your video, or a built-in presenter stand-in) starts full-frame then shrinks into a circular or rounded picture-in-picture in a corner with an accent ring, while B-roll cards slide through the main frame and captions stay clear of the window.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Talking head PiP is for
Course videos, creator explainers, product walkthroughs with a host; pair with caption-style motions for subtitles.
Details
- Category
- UI & product mockup animations
- Length
- 9.0 s (270 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
ringColorbackgroundaccentink- Mood
- photo, editorial, ui
- Roles
- subject
Use Talking head PiP in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add talking-head-pip --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render talking-head-pip --props '{"ringColor":"#FFC933","background":"#10131F","accent":"#3E6BFF","ink":"#FFFFFF"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export talking-head-pip --as mp4 --props '{"ringColor":"#FFC933","background":"#10131F","accent":"#3E6BFF","ink":"#FFFFFF"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="talking-head-pip"
props={{
ringColor: '#FFC933',
background: '#10131F',
accent: '#3E6BFF',
ink: '#FFFFFF',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="talking-head-pip"
props='{"ringColor":"#FFC933","background":"#10131F","accent":"#3E6BFF","ink":"#FFFFFF"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "talking-head-pip",
"props": {
"ringColor": "#FFC933",
"background": "#10131F",
"accent": "#3E6BFF",
"ink": "#FFFFFF"
}
}
]
}Talking head PiP props
16 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
videoSrc | "" | speaker footage (public/ path or URL); empty = built-in presenter stand-in |
videoStartFrom | 0 | frame to start the footage from |
muted | false | mute the footage audio |
scenes | [{"title":"The big idea","caption":"Start with one clear promise."},{"title":"How it wo… | [{title, image?, caption?}] B-roll cards shown in turn (image = public/ path, else a procedural illustration) |
corner | "bottom-right" | bottom-right | bottom-left | top-right | top-left |
shape | "circle" | circle | rounded |
diameter | 0.26 | PiP size as a fraction of the short side (0.22-0.28) |
margin | 0.045 | corner margin as a fraction of the short side |
shrinkAt | 36 | frame the speaker starts shrinking into the corner |
ring | 5 | accent ring width in px |
ringColor | "#FFC933" | accent ring colour |
background | "#10131F" | background colour |
accent | "#3E6BFF" | colour behind the stand-in presenter |
ink | "#FFFFFF" | caption text colour |
captions | true | show captions (kept clear of the PiP) |
speakerName | "" | optional small name tag by the PiP |
Related motions

Glass lesson cards
Lesson, step and definition overlays for educational explainers, product tours and course trailers; the card system of an "interactive…
glass-lesson-card
Lesson carousel
Course / playlist / step navigation in app promos; a chapter selector at the bottom of an explainer.
lesson-carousel
SMS thread on a phone
Product explainers that show an automated text conversation, follow-up sequences ("Day 2 / Day 5"), booking confirmations.
sms-thread
Snap grid collapse
The "we organise it all" promise for SaaS, CMS, schedulers, file managers and inbox tools; the effect after ui-accumulation-storm.
snap-grid-collapse
Device mockup (phone, tablet, laptop, watch)
App launches, feature tours, testimonials, store previews: makes a host screenshot look shipped. Pass `src` (and `src2` for the flip side)…
device-mockup
Hotel rating card
Hotel, rental and resort promos, travel-booking app demos, "top-rated stay" reels, property / venue / restaurant rating cards — set the…
hotel-rating-card
Notes & credits
Technique sources:
- prompt-corpus: awesome-opus5-5-videos (MIT) — talking-head + B-roll cases (5), original implementation