Product Demo Cursor & Zoom
A scripted walkthrough: the cursor clicks a button, the result appears and the camera zooms to it with a caption.
AI prompt
Product explainer video, 16:9, 5 seconds, clean light UI of an AI writing app on a soft grey background. A smooth cursor glides to the "Generate" button, a subtle click ripple, the result card slides in with three lines of text, then the camera pushes in 1.4x on the result while a short caption fades in at the bottom: "Draft ready in seconds". Style: crisp interface, rounded corners, soft shadows, one accent colour, consistent eased motion, no camera shake, readable text, 60 fps feel. Beats: 0.0 cursor enters, 0.8 click, 1.2 result appears, 2.0 zoom in, 4.0 hold, 4.5 end. Negative: unreadable tiny text, jittery cursor, random UI changes, glitchy typography, fake logos, busy backgrounds.About this pattern
Definition
Product explainer motion shows an interface in action with a guided cursor, simple click feedback, a zoom that directs attention and a short caption for each step.
When to use it
- Shows what the product does in seconds without voice-over, typical for AI and software launches.
- One action per beat: move, click, result, zoom to result. Hold each beat long enough to read the caption.
- Zoom only on what matters; keep the rest of the screen calm.
What the controls do
- Play runs the sequence; Replay restarts it; captions describe each beat.
Motion & timing
- Cursor travel 700ms ease-in-out; click ripple 450ms; result fade 300ms; zoom 700ms cubic-bezier(.2,.7,.2,1) to 1.4x; whole sequence about 4.5 seconds.
- Reduced motion: the sequence shows its final state with all captions listed, without cursor travel or zoom.
Tips & variations
- Design for 16:9 and keep key content in the centre 80 percent so it also works cropped to 9:16.
- Captions use large text (at least 4 percent of frame height).
Code of this live preview
<div class="vp" id="vp"><div class="app" id="app"><div class="bar"><i></i><i></i><i></i></div><div class="body"><button class="gen" id="gen" tabindex="-1">Generate</button><div class="res" id="res"><b>Draft</b><span></span><span></span><span></span></div></div></div><i class="cur" id="cur"></i><p class="cap" id="cap" aria-live="polite"></p></div>
<button class="play" id="play" type="button">Play</button>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
.vp{position:relative;width:min(300px,100%);height:160px;border-radius:12px;overflow:hidden;background:#e6e6e2}
.app{position:absolute;left:30px;top:16px;width:240px;height:120px;border-radius:10px;background:#fff;border:1px solid var(--line);transform-origin:var(--ox,50%) var(--oy,50%);transform:scale(var(--z,1));transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.bar{display:flex;gap:4px;padding:7px 8px;border-bottom:1px solid var(--line)}.bar i{width:7px;height:7px;border-radius:50%;background:#d4d4cf}
.body{padding:10px 12px}
.gen{height:26px;padding:0 14px;border-radius:99px;border:0;background:#171717;color:#fff;font:inherit;font-size:11.5px;font-weight:600;transition:transform .12s}
.gen.press{transform:scale(.93)}
.res{margin-top:10px;padding:8px 10px;border-radius:8px;background:#f4f4f2;opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s}
.res.on{opacity:1;transform:none}
.res b{font-size:11px}.res span{display:block;height:6px;border-radius:3px;background:#d4d4cf;margin-top:5px;width:90%}.res span+span{width:70%}.res span+span+span{width:80%}
.cur{position:absolute;left:0;top:0;width:14px;height:14px;background:#171717;clip-path:polygon(0 0,0 100%,30% 75%,50% 100%,66% 92%,46% 68%,80% 68%);transform:translate(var(--cx,260px),var(--cy,130px));transition:transform .7s cubic-bezier(.45,0,.25,1);z-index:3}
.cur.rip::after{content:"";position:absolute;left:-10px;top:-10px;width:30px;height:30px;border-radius:50%;border:2px solid #171717;animation:rp .45s ease-out forwards}
@keyframes rp{from{transform:scale(.2);opacity:.9}to{transform:scale(1);opacity:0}}
.cap{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);white-space:nowrap;background:#171717;color:#fff;padding:3px 12px;border-radius:99px;font-size:11.5px;font-weight:600;opacity:0;transition:opacity .25s;z-index:4}.cap:empty{display:none}
.cap.on{opacity:1}
.play{margin-top:10px;height:28px;padding:0 16px;border-radius:99px;border:0;background:var(--accent);color:var(--accent-ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.play:disabled{opacity:.4}.play:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.app,.cur,.res,.cap{transition:none}.cur.rip::after{animation:none}}const $=id=>document.getElementById(id),app=$('app'),cur=$('cur'),gen=$('gen'),res=$('res'),cap=$('cap'),play=$('play');
const reduce=matchMedia('(prefers-reduced-motion: reduce)').matches;let T=[];
const at=(ms,fn)=>T.push(setTimeout(fn,ms));
function reset(){T.forEach(clearTimeout);T=[];app.style.setProperty('--z',1);cur.style.setProperty('--cx','260px');cur.style.setProperty('--cy','130px');cur.classList.remove('rip');gen.classList.remove('press');res.classList.remove('on');cap.classList.remove('on');cap.textContent='';}
function run(){reset();if(reduce){res.classList.add('on');cap.textContent='1. Click Generate 2. Draft ready in seconds';cap.classList.add('on');return;}
play.disabled=true;at(60,()=>{cap.textContent='Click Generate';cap.classList.add('on');cur.style.setProperty('--cx','62px');cur.style.setProperty('--cy','52px');});
at(900,()=>{gen.classList.add('press');cur.classList.add('rip');});at(1050,()=>gen.classList.remove('press'));
at(1300,()=>{res.classList.add('on');cap.classList.remove('on');});at(1700,()=>{cap.textContent='Draft ready in seconds';cap.classList.add('on');});
at(2100,()=>{app.style.setProperty('--ox','40%');app.style.setProperty('--oy','60%');app.style.setProperty('--z',1.4);});
at(4200,()=>{app.style.setProperty('--z',1);cap.classList.remove('on');});at(4900,()=>{play.disabled=false;play.textContent='Replay';});}
play.addEventListener('click',run);reset();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Product Demo Cursor & Zoom — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.vp{position:relative;width:min(300px,100%);height:160px;border-radius:12px;overflow:hidden;background:#e6e6e2}
.app{position:absolute;left:30px;top:16px;width:240px;height:120px;border-radius:10px;background:#fff;border:1px solid var(--line);transform-origin:var(--ox,50%) var(--oy,50%);transform:scale(var(--z,1));transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.bar{display:flex;gap:4px;padding:7px 8px;border-bottom:1px solid var(--line)}.bar i{width:7px;height:7px;border-radius:50%;background:#d4d4cf}
.body{padding:10px 12px}
.gen{height:26px;padding:0 14px;border-radius:99px;border:0;background:#171717;color:#fff;font:inherit;font-size:11.5px;font-weight:600;transition:transform .12s}
.gen.press{transform:scale(.93)}
.res{margin-top:10px;padding:8px 10px;border-radius:8px;background:#f4f4f2;opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s}
.res.on{opacity:1;transform:none}
.res b{font-size:11px}.res span{display:block;height:6px;border-radius:3px;background:#d4d4cf;margin-top:5px;width:90%}.res span+span{width:70%}.res span+span+span{width:80%}
.cur{position:absolute;left:0;top:0;width:14px;height:14px;background:#171717;clip-path:polygon(0 0,0 100%,30% 75%,50% 100%,66% 92%,46% 68%,80% 68%);transform:translate(var(--cx,260px),var(--cy,130px));transition:transform .7s cubic-bezier(.45,0,.25,1);z-index:3}
.cur.rip::after{content:"";position:absolute;left:-10px;top:-10px;width:30px;height:30px;border-radius:50%;border:2px solid #171717;animation:rp .45s ease-out forwards}
@keyframes rp{from{transform:scale(.2);opacity:.9}to{transform:scale(1);opacity:0}}
.cap{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);white-space:nowrap;background:#171717;color:#fff;padding:3px 12px;border-radius:99px;font-size:11.5px;font-weight:600;opacity:0;transition:opacity .25s;z-index:4}.cap:empty{display:none}
.cap.on{opacity:1}
.play{margin-top:10px;height:28px;padding:0 16px;border-radius:99px;border:0;background:var(--accent);color:var(--accent-ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.play:disabled{opacity:.4}.play:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.app,.cur,.res,.cap{transition:none}.cur.rip::after{animation:none}}
</style></head>
<body><div class="stage">
<div class="vp" id="vp"><div class="app" id="app"><div class="bar"><i></i><i></i><i></i></div><div class="body"><button class="gen" id="gen" tabindex="-1">Generate</button><div class="res" id="res"><b>Draft</b><span></span><span></span><span></span></div></div></div><i class="cur" id="cur"></i><p class="cap" id="cap" aria-live="polite"></p></div>
<button class="play" id="play" type="button">Play</button>
</div>
<script>
const $=id=>document.getElementById(id),app=$('app'),cur=$('cur'),gen=$('gen'),res=$('res'),cap=$('cap'),play=$('play');
const reduce=matchMedia('(prefers-reduced-motion: reduce)').matches;let T=[];
const at=(ms,fn)=>T.push(setTimeout(fn,ms));
function reset(){T.forEach(clearTimeout);T=[];app.style.setProperty('--z',1);cur.style.setProperty('--cx','260px');cur.style.setProperty('--cy','130px');cur.classList.remove('rip');gen.classList.remove('press');res.classList.remove('on');cap.classList.remove('on');cap.textContent='';}
function run(){reset();if(reduce){res.classList.add('on');cap.textContent='1. Click Generate 2. Draft ready in seconds';cap.classList.add('on');return;}
play.disabled=true;at(60,()=>{cap.textContent='Click Generate';cap.classList.add('on');cur.style.setProperty('--cx','62px');cur.style.setProperty('--cy','52px');});
at(900,()=>{gen.classList.add('press');cur.classList.add('rip');});at(1050,()=>gen.classList.remove('press'));
at(1300,()=>{res.classList.add('on');cap.classList.remove('on');});at(1700,()=>{cap.textContent='Draft ready in seconds';cap.classList.add('on');});
at(2100,()=>{app.style.setProperty('--ox','40%');app.style.setProperty('--oy','60%');app.style.setProperty('--z',1.4);});
at(4200,()=>{app.style.setProperty('--z',1);cap.classList.remove('on');});at(4900,()=>{play.disabled=false;play.textContent='Replay';});}
play.addEventListener('click',run);reset();
</script>
</body></html>