Type · graduation-cap-toss
Graduation caps tossed in the air
Mortarboard caps are thrown up from below the frame, tumble with swinging tassels and fall away while confetti pops from both corners; Congratulations, the graduate name, a class pill and a tagline pop onto the frame, with a second smaller toss as finale.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Graduation caps tossed in the air is for
Graduation and commencement videos, school or bootcamp class announcements, "congrats graduates" posts, certificate and course-completion celebrations, alumni and yearbook intros. Set the name (or "Graduates"), class line and colours.
Details
- Category
- Text animations & kinetic typography
- Length
- 9.0 s (270 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
headlinesubtitle- Colour props
colorscaptasselbackgroundinkaccentaccent2- Mood
- playful
- Roles
- type, accent
Use Graduation caps tossed in the air in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add graduation-cap-toss --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render graduation-cap-toss --props '{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export graduation-cap-toss --as webm-alpha --props '{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="graduation-cap-toss"
props={{
headline: 'Congratulations',
subtitle: 'The future is yours',
colors: ['#E0A82E', '#D9534F', '#3B82C4', '#4FB58A', '#FFFFFF'],
cap: '#1E2A4A',
tassel: '#E0A82E',
background: '#F4EBDD',
ink: '#1E2A4A',
accent: '#F2C14E',
accent2: '#D9534F',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="graduation-cap-toss"
props='{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "graduation-cap-toss",
"props": {
"headline": "Congratulations",
"subtitle": "The future is yours",
"colors": [
"#E0A82E",
"#D9534F",
"#3B82C4",
"#4FB58A",
"#FFFFFF"
],
"cap": "#1E2A4A",
"tassel": "#E0A82E",
"background": "#F4EBDD",
"ink": "#1E2A4A",
"accent": "#F2C14E",
"accent2": "#D9534F"
}
}
]
}Graduation caps tossed in the air props
14 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
headline | "Congratulations" | big line (Congratulations / Well done / Graduates) |
name | "Jordan Lee" | graduate or group name, shown in script |
classLabel | "Class of 2027" | text in the gold pill (Class of 2027, Batch 12...) |
subtitle | "The future is yours" | tagline under the pill |
caps | 9 | caps in the first toss (1-16); the second toss uses about 60% |
colors | ["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"] | confetti colours (array of hex) |
cap | "#1E2A4A" | cap colour (hex) |
tassel | "#E0A82E" | tassel and button colour (hex) |
background | "#F4EBDD" | frame colour (hex), or "transparent" to overlay content |
ink | "#1E2A4A" | headline and tagline colour (hex) |
accent | "#F2C14E" | class pill colour (hex) |
accent2 | "#D9534F" | name colour (hex) |
seed | 5 | seed for toss spread and confetti |
startAt | 0 | frame the sequence begins |
Related motions

Birthday cake, candles & blow-out
Birthday greetings and reels, party invites, "happy birthday" posts, team-member birthdays, kids party intros, any "make a wish" reveal.…
birthday-cake-candles
New-year countdown with fireworks finale
New-year countdowns, product-launch and live-stream countdowns, sale starts, "going live in 10" intros, festival openers, midnight…
countdown-new-year
Follower milestone
Follower / subscriber / download / sales milestones, community thank-you posts, anniversary and goal-reached celebrations, "we hit 100K"…
follower-milestone
RSVP invite card with button press
Party, wedding, webinar, launch-event and meetup invitations, RSVP reminders, event sign-up promos, "reserve your spot" call-to-actions.…
rsvp-invite-card
Anniversary years badge (ribbons & laurel)
Company and brand anniversaries, "5 years of ..." milestones, employee tenure, subscription / membership years, loyalty badges, awards and…
anniversary-years-badge
Event ticket reveal & stub tear
Concert, festival, conference, cinema and match announcements, "tickets on sale" promos, event confirmations and booking flows, gift…
event-ticket-reveal
Notes & credits
Technique sources:
- original (round 3, events & celebrations)