Type · definition-card
Definition card
A dictionary entry card: big headword with a speaker icon, phonetic spelling and part-of-speech pill, a rule that draws, the definition typing on with a caret, then an italic example sentence.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Definition card is for
Vocabulary and "what does X mean" explainers, glossary beats, language lessons, jargon-busting intros — pass the word, phonetic, part of speech, definition and example.
Details
- Category
- Text animations & kinetic typography
- 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
word- Colour props
backgroundinkaccentcard- Mood
- ui
- Roles
- type
Use Definition card in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add definition-card --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render definition-card --props '{"word":"Inflation","background":"#E9E1D0","ink":"#1D1B18","accent":"#C8452D","card":"#FFFDF7"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export definition-card --as webm-alpha --props '{"word":"Inflation","background":"#E9E1D0","ink":"#1D1B18","accent":"#C8452D","card":"#FFFDF7"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="definition-card"
props={{
word: 'Inflation',
background: '#E9E1D0',
ink: '#1D1B18',
accent: '#C8452D',
card: '#FFFDF7',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="definition-card"
props='{"word":"Inflation","background":"#E9E1D0","ink":"#1D1B18","accent":"#C8452D","card":"#FFFDF7"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "definition-card",
"props": {
"word": "Inflation",
"background": "#E9E1D0",
"ink": "#1D1B18",
"accent": "#C8452D",
"card": "#FFFDF7"
}
}
]
}Definition card props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
word | "Inflation" | the headword |
phonetic | "/ɪnˈfleɪ.ʃən/" | phonetic spelling, e.g. /ˈwɜːd/ |
partOfSpeech | "noun" | noun / verb / adjective ... shown as a pill |
definition | "A general rise in prices over time, which means each unit of money buys a little less … | the definition text (types on) |
example | "With inflation at 3%, a $100 basket of groceries costs $103 next year." | optional example sentence (empty string hides it) |
background | "#E9E1D0" | backdrop colour or 'transparent' |
ink | "#1D1B18" | text colour |
accent | "#C8452D" | pill, rule, caret and left-edge colour |
card | "#FFFDF7" | card colour |
fontFamily | "" | optional CSS font-family for the word and example (empty = serif) |
startAt | 0 | frame the card starts entering |
speed | 1 | playback speed multiplier |
typeSpeed | 1 | typing speed multiplier for the definition |
Related motions

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
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
Glass lesson cards
Lesson, step and definition overlays for educational explainers, product tours and course trailers; the card system of an "interactive…
glass-lesson-card
Key takeaway highlight
Lesson recaps, article / study summaries, "what to remember" endings, explainer chapters — pass your paragraph, the phrases to highlight…
key-takeaway-highlight
Myth vs fact
Myth-busting beats, misconception explainers, health / science / finance "common belief vs reality" shorts, quiz answers — pass your own…
myth-vs-fact
Fill in the blank
Grammar and vocabulary exercises, language-learning reels, classroom quiz clips, ESL practice posts and "can you spot the right word?"…
fill-in-the-blank
Notes & credits
Technique sources:
- original (round 3)