UI · keystroke-hud
Keystroke HUD
KeyCastr-style frosted-glass key caps (shift, cmd, a letter, return, esc ...) pop in at the bottom as each shortcut is pressed, the last key dips like a real press, the combo holds about a second, stacks beside the next one and fades. Over a soft demo editor by default; backdrop none = transparent overlay.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Keystroke HUD is for
Tutorials, dev-tool and productivity-app demos, screen recordings that need the shortcuts shown; lay over a real recording with backdrop none.
Details
- Category
- UI & product mockup animations
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
inkaccent- Mood
- hud, playful
- Roles
- accent, subject
Use Keystroke HUD in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add keystroke-hud --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render keystroke-hud --props '{"ink":"#1D1D26","accent":"#7048E8"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export keystroke-hud --as webm-alpha --props '{"ink":"#1D1D26","accent":"#7048E8"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="keystroke-hud"
props={{ink: '#1D1D26', accent: '#7048E8'}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="keystroke-hud"
props='{"ink":"#1D1D26","accent":"#7048E8"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "keystroke-hud",
"props": {
"ink": "#1D1D26",
"accent": "#7048E8"
}
}
]
}Keystroke HUD props
10 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
keys | [{"t":0.7,"combo":"⌘ K"},{"t":2.2,"combo":"⇧ ⌘ M"},{"t":3.8,"combo":"⌘ C"},{"t":4.3,"co… | array of {t seconds, combo}: tokens separated by space or +, e.g. "⇧ ⌘ M", "cmd+shift+p", "ctrl alt delete", "esc" |
hold | 1 | seconds a combo stays fully visible |
size | 1.3 | key cap size multiplier |
position | "bottom" | bottom | top |
glass | "rgba(255,255,255,0.7)" | cap fill (rgba) — frosted glass |
ink | "#1D1D26" | glyph colour |
backdrop | "demo" | demo = soft editor mock behind; none = transparent overlay |
accent | "#7048E8" | reserved accent colour |
seed | 4 | demo backdrop seed |
fileName | "main.ts" | file name shown beside the ghost code lines |
Related motions

Lesson player toolbar
Making a narrated explainer, tutorial or product walkthrough feel like a real interactive player; an on-screen caption bar with step…
player-toolbar
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
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
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
Agent log panel
Showing agent reasoning or chat history next to the action; multi-agent demos, customer-support and simulation promos; overlay-capable.
agent-log-panel
Notes & credits
Technique sources:
- lemo-opuscar styles/living-screencast STYLE.md §4 + demo/main.js HUD (MIT, LemoLab) — cap 4 % H, radius 8 px, rgba(255,255,255,.7) + blur 12, pop .12 s, hold ~1 s