Type · flashcard-flip-deck
Flashcard flip deck
A study deck of flashcards: each card slides in showing the term, flips over in 3D to reveal its definition, then flies off as the next arrives, with a deck stack, progress dots, a counter and a deck-complete finish.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Flashcard flip deck is for
Vocabulary, revision and quiz-prep videos, language-learning reels, course trailers and "test yourself" social posts — pass your own cards (term + definition), labels and brand colours.
Details
- Category
- Text animations & kinetic typography
- Length
- 14.3 s (430 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
cardstitle- Colour props
backgroundinkaccentaccent2card- Mood
- 3d, ui
- Roles
- type
Use Flashcard flip deck in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add flashcard-flip-deck --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render flashcard-flip-deck --props '{"cards":[{"term":"Photosynthesis","definition":"How plants turn sunlight, water and air into food."},{"term":"Habitat","definition":"The natural home where an animal or plant lives."},{"term":"Evaporation","definition":"When liquid water warms up and rises as vapour."},{"term":"Gravity","definition":"The force that pulls objects toward each other."}],"title":"Science words","background":"#F4EFE6","ink":"#1F2430","accent":"#3D5AFE","accent2":"#FF9F1C","card":"#FFFFFF"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flashcard-flip-deck --as webm-alpha --props '{"cards":[{"term":"Photosynthesis","definition":"How plants turn sunlight, water and air into food."},{"term":"Habitat","definition":"The natural home where an animal or plant lives."},{"term":"Evaporation","definition":"When liquid water warms up and rises as vapour."},{"term":"Gravity","definition":"The force that pulls objects toward each other."}],"title":"Science words","background":"#F4EFE6","ink":"#1F2430","accent":"#3D5AFE","accent2":"#FF9F1C","card":"#FFFFFF"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="flashcard-flip-deck"
props={{
cards: [
{
term: 'Photosynthesis',
definition: 'How plants turn sunlight, water and air into food.',
},
{
term: 'Habitat',
definition: 'The natural home where an animal or plant lives.',
},
{
term: 'Evaporation',
definition: 'When liquid water warms up and rises as vapour.',
},
{
term: 'Gravity',
definition: 'The force that pulls objects toward each other.',
},
],
title: 'Science words',
background: '#F4EFE6',
ink: '#1F2430',
accent: '#3D5AFE',
accent2: '#FF9F1C',
card: '#FFFFFF',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="flashcard-flip-deck"
props='{"cards":[{"term":"Photosynthesis","definition":"How plants turn sunlight, water and air into food."},{"term":"Habitat","definition":"The natural home where an animal or plant lives."},{"term":"Evaporation","definition":"When liquid water warms up and rises as vapour."},{"term":"Gravity","definition":"The force that pulls objects toward each other."}],"title":"Science words","background":"#F4EFE6","ink":"#1F2430","accent":"#3D5AFE","accent2":"#FF9F1C","card":"#FFFFFF"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "flashcard-flip-deck",
"props": {
"cards": [
{
"term": "Photosynthesis",
"definition": "How plants turn sunlight, water and air into food."
},
{
"term": "Habitat",
"definition": "The natural home where an animal or plant lives."
},
{
"term": "Evaporation",
"definition": "When liquid water warms up and rises as vapour."
},
{
"term": "Gravity",
"definition": "The force that pulls objects toward each other."
}
],
"title": "Science words",
"background": "#F4EFE6",
"ink": "#1F2430",
"accent": "#3D5AFE",
"accent2": "#FF9F1C",
"card": "#FFFFFF"
}
}
]
}Flashcard flip deck props
16 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
cards | [{"term":"Photosynthesis","definition":"How plants turn sunlight, water and air into fo… | array of {term, definition} cards, shown in order |
title | "Science words" | deck title shown top-left |
termLabel | "Term" | small label on the term side |
definitionLabel | "Meaning" | small label on the definition side |
flipHint | "Think, then flip" | hint line at the bottom of the term side (empty hides it) |
doneText | "Deck complete!" | headline of the end state |
doneSubtitle | "{n} cards reviewed" | end-state subtitle; {n} is replaced by the card count |
background | "#F4EFE6" | backdrop colour or 'transparent' |
ink | "#1F2430" | title / counter / end-state text colour |
accent | "#3D5AFE" | term-side card colour, progress dots, check mark |
accent2 | "#FF9F1C" | definition-side top stripe and label colour |
card | "#FFFFFF" | definition-side card colour |
fontFamily | "" | optional CSS font-family for terms and the title (empty = grotesk) |
hold | 24 | frames each side is held before flipping / moving on (definition is held 30% longer) |
startAt | 0 | frame the deck starts |
speed | 1 | playback speed multiplier |
Related motions

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
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
Definition card
Vocabulary and "what does X mean" explainers, glossary beats, language lessons, jargon-busting intros — pass the word, phonetic, part of…
definition-card
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
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
Myth vs fact
Myth-busting beats, misconception explainers, health / science / finance "common belief vs reality" shorts, quiz answers — pass your own…
myth-vs-fact
Notes & credits
Technique sources:
- original (round 3)