Type · fill-in-the-blank
Fill in the blank
A cloze exercise: a sentence with a pulsing blank, answer chips that pop in below, a wrong chip that is tried and bounces back with a shake and a cross, then the right chip arcs into the blank, turns green with a tick and sparkles and the feedback appears.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Fill in the blank is for
Grammar and vocabulary exercises, language-learning reels, classroom quiz clips, ESL practice posts and "can you spot the right word?" engagement videos — pass the sentence with ___ for the blank, the options and the answer.
Details
- Category
- Text animations & kinetic typography
- Length
- 11.0 s (330 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
backgroundinkaccentcardcorrectColorwrongColor- Mood
- playful
- Roles
- type, accent
Use Fill in the blank in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add fill-in-the-blank --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render fill-in-the-blank --props '{"background":"#EAF2FF","ink":"#1D2440","accent":"#4C6FFF","card":"#FFFFFF","correctColor":"#1FA463","wrongColor":"#E5484D"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export fill-in-the-blank --as webm-alpha --props '{"background":"#EAF2FF","ink":"#1D2440","accent":"#4C6FFF","card":"#FFFFFF","correctColor":"#1FA463","wrongColor":"#E5484D"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="fill-in-the-blank"
props={{
background: '#EAF2FF',
ink: '#1D2440',
accent: '#4C6FFF',
card: '#FFFFFF',
correctColor: '#1FA463',
wrongColor: '#E5484D',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="fill-in-the-blank"
props='{"background":"#EAF2FF","ink":"#1D2440","accent":"#4C6FFF","card":"#FFFFFF","correctColor":"#1FA463","wrongColor":"#E5484D"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "fill-in-the-blank",
"props": {
"background": "#EAF2FF",
"ink": "#1D2440",
"accent": "#4C6FFF",
"card": "#FFFFFF",
"correctColor": "#1FA463",
"wrongColor": "#E5484D"
}
}
]
}Fill in the blank props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
sentence | "The cat sat on the ___ all day." | the sentence; write ___ (3 underscores) where the blank goes |
options | ["mat","sky","cloud"] | answer chips shown below the sentence |
answerIndex | 0 | index (0-based) of the correct option |
tryWrongFirst | true | try a wrong option first (shake + cross) before the correct one lands |
prompt | "Fill in the blank" | label pill above the sentence |
correctText | "Correct!" | headline of the success banner |
wrongText | "Not quite - try again" | message while the wrong option is in the blank |
explanation | "A cat can sit on a mat, but not on the sky." | optional one-line explanation under the success banner (empty hides it) |
background | "#EAF2FF" | backdrop colour or 'transparent' |
ink | "#1D2440" | sentence text colour |
accent | "#4C6FFF" | chip and blank colour |
card | "#FFFFFF" | sentence card colour |
correctColor | "#1FA463" | success colour |
wrongColor | "#E5484D" | wrong-answer colour |
fontFamily | "" | optional CSS font-family for the sentence and chips (empty = grotesk) |
startAt | 0 | frame the exercise starts |
speed | 1 | playback speed multiplier |
Related motions

Flashcard flip deck
Vocabulary, revision and quiz-prep videos, language-learning reels, course trailers and "test yourself" social posts — pass your own cards…
flashcard-flip-deck
Word translation pair
Language-learning reels, vocabulary-of-the-day posts, travel phrase videos, bilingual kids' content and app promos — pass your own pairs…
word-translation-pair
Counting objects
Early-years maths and number-recognition videos, kids' app promos, preschool lessons and "how many?" social posts — pass the count, the…
counting-objects
Alphabet letter trace
Kids' phonics and handwriting videos, alphabet series, ESL letter lessons, number-writing practice and educational app promos. Works for…
alphabet-letter-trace
Quiz question reveal
Quiz shorts, "can you guess" engagement beats, classroom / course videos, trivia — pass the question, options and the correct index.
quiz-question-reveal
Definition card
Vocabulary and "what does X mean" explainers, glossary beats, language lessons, jargon-busting intros — pass the word, phonetic, part of…
definition-card
Notes & credits
Technique sources:
- original (round 3)