UI · command-palette-type
Command palette typing
A dot grows into a search / prompt bar, a caret types the query with jittered keystrokes while matching suggestions stagger in and filter themselves, Enter presses the bar (scale 0.97 plus an accent glow), the list collapses and a result card slides in and streams its answer with tag chips.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Command palette typing is for
AI products, search tools and SaaS demos: the "user types a prompt and gets an answer" shot. Pairs with cursor-driver and ui-shape-morph.
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
accent- Mood
- ui
- Roles
- subject
Use Command palette typing in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add command-palette-type --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render command-palette-type --props '{"accent":"#7c8cff"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export command-palette-type --as mp4 --props '{"accent":"#7c8cff"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="command-palette-type"
props={{accent: '#7c8cff'}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="command-palette-type"
props='{"accent":"#7c8cff"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "command-palette-type",
"props": {
"accent": "#7c8cff"
}
}
]
}Command palette typing props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
placeholder | "Search or ask anything" | placeholder text shown in the empty bar |
query | "summarize the q3 roadmap" | the typed text |
suggestions | ["Summarize the Q3 roadmap","Summarize the meeting notes","Summarize this week in revie… | suggestion rows; rows that stop matching the typed words collapse away |
resultTitle | "Q3 roadmap, summarized" | result card title |
resultBody | "Three themes shape the quarter: faster onboarding, a calmer dashboard and an API that … | result text, streamed in |
resultTags | ["Roadmap","Q3","Draft"] | chips under the result |
resultImage | "" | optional thumbnail for the result (public/ path or URL) |
theme | "dark" | 'dark' | 'light' |
accent | "#7c8cff" | caret / highlight / glow colour |
background | "" | page colour (empty = theme default) |
typeStart | 40 | frame typing begins |
charFrames | 2.5 | frames per character (2-3 feels human) |
enterGap | 16 | frames between the last character and Enter |
Related motions

AI chat streaming
AI assistant / copilot / chatbot promos, "how LLMs generate text" explainers, prompt-and-response demos, support-bot and agent product…
ai-chat-streaming
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
Typewriter delete & retype
Hero taglines that cycle ("Built to be fast / secure / simple"), search-box and prompt demos, "we help X do Y" rotators, chat/AI typing…
typewriter-delete-retype
Chat with typing indicator
Support-bot, AI-assistant and messaging product demos, "talk to us" website sections, onboarding conversations, any "someone is typing…"…
typing-indicator-chat
Card stack cascade (bento + focus)
Feature overviews in launch videos, website sections, pricing / plan reveals: pass `cards` (title, body, icon, span "2x1"), choose…
card-stack-cascade
Chat bubbles, chips & thought bubble
Conversations, user feedback / comments, "what people are asking", a character thinking back over its day, verdict reveals.
chat-bubbles
Notes & credits
Technique sources:
- prompt corpus x18 (prompt bar types, suggestions filter, enter -> result card)