UI · cursor-driver
Cursor driver (operated UI)
A pointer glides on bowed ease-in-out hops, presses with a 0.88x squash and a ripple ring, drags a slider and types into a field, so UI demos look operated. With the demo card on, the settings UI reacts to it (field text, slider, toggle, save button); with `demo:false` and a transparent background it is a pure overlay for your own keys.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Cursor driver (operated UI) is for
Every UI demo, SaaS launch, tutorial and app preview: lay it over browser-mockup / device-mockup / ui-shape-morph with keys in % of the frame; key host reactions off `cursorEvents(keys)`.
Details
- Category
- UI & product mockup animations
- Length
- 10.0 s (300 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
colorrippleColoraccentbackground- Mood
- ui
- Roles
- accent, subject
Use Cursor driver (operated UI) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add cursor-driver --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render cursor-driver --props '{"color":"#111111","rippleColor":"#4F5BD5","accent":"#4F5BD5","background":"#EDEBE7"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export cursor-driver --as webm-alpha --props '{"color":"#111111","rippleColor":"#4F5BD5","accent":"#4F5BD5","background":"#EDEBE7"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="cursor-driver"
props={{
color: '#111111',
rippleColor: '#4F5BD5',
accent: '#4F5BD5',
background: '#EDEBE7',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="cursor-driver"
props='{"color":"#111111","rippleColor":"#4F5BD5","accent":"#4F5BD5","background":"#EDEBE7"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "cursor-driver",
"props": {
"color": "#111111",
"rippleColor": "#4F5BD5",
"accent": "#4F5BD5",
"background": "#EDEBE7"
}
}
]
}Cursor driver (operated UI) props
20 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
keys | [] | [{frame (arrival), x, y (% of frame), action:'move'|'click'|'drag'|'type', text?, target?}] — empty = the built-in demo track |
style | "arrow" | 'arrow' | 'hand' | 'touch' |
color | "#111111" | cursor fill colour |
size | 34 | cursor height in u |
rippleColor | "#4F5BD5" | click ripple colour |
demo | true | draw the reactive demo settings card under the cursor |
demoText | "hello@northwind.co" | text typed into the demo field |
cardTitle | "Notification settings" | demo card heading |
cardSubtitle | "Where should we send your weekly summary?" | demo card sub line |
fieldPlaceholder | "you@company.com" | grey placeholder in the demo field before typing |
sliderLabel | "Frequency" | label of the demo slider ("<label> · N <unit>") |
sliderUnit | "days" | unit word after the slider value |
sliderMin | 1 | slider value at the left end |
sliderMax | 30 | slider value at the right end |
toggleLabel | "Product updates" | label of the demo toggle |
buttonLabel | "Save changes" | demo button label before the click |
savedLabel | "Saved ✓" | demo button label after the click |
accent | "#4F5BD5" | demo UI accent |
background | "#EDEBE7" | canvas colour; 'transparent' for overlay use |
dark | false | dark demo card |
Related motions

Screen recorder camera
Make any UI demo look like a premium product recording: SaaS walkthroughs, feature launches, tutorials; edit keys to aim the camera at…
screen-recorder-camera
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
Tooltip pointer
Explain a control in a product tour, onboarding walkthrough or screen-recording tutorial: pass `tips` with the target x/y, a title and a…
tooltip-pointer
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
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
Technique sources:
- prompt-corpus: cursor-driver (36 cases)
- awesome-opus5-5-videos prompts (MIT) — technique only