Data · gantt-timeline
Gantt timeline
A project Gantt chart: a time axis with grid, task rows whose bars grow from their start to their end with a progress fill and duration, diamond milestones dropping in on a lane above, and a red "today" marker sweeping down and bobbing on the timeline; bars coloured by group with a legend.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Gantt timeline is for
Schedules and roadmaps: project plans, launch timelines, sprint plans, production calendars, course or treatment plans. Pass tasks as [{label, start, end, group?, progress?}] and milestones as [{label, at}] in any unit (days, weeks, months); use tickLabels for named periods.
Details
- Category
- Animated charts & data visualisation
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
colorsbackgroundinkaccent- Mood
- hud
- Roles
- accent, subject
Use Gantt timeline in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add gantt-timeline --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render gantt-timeline --props '{"title":"Project timeline","subtitle":"Fourteen weeks from kick-off to launch","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#2F6FED"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export gantt-timeline --as webm-alpha --props '{"title":"Project timeline","subtitle":"Fourteen weeks from kick-off to launch","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#2F6FED"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="gantt-timeline"
props={{
title: 'Project timeline',
subtitle: 'Fourteen weeks from kick-off to launch',
colors: [
'#2F6FED',
'#FF7A45',
'#16B39A',
'#F2B134',
'#8E5CF0',
'#E5487F',
'#5BC0EB',
'#7A8794',
],
background: '#F5F3EE',
ink: '#18212B',
accent: '#2F6FED',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="gantt-timeline"
props='{"title":"Project timeline","subtitle":"Fourteen weeks from kick-off to launch","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"],"background":"#F5F3EE","ink":"#18212B","accent":"#2F6FED"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "gantt-timeline",
"props": {
"title": "Project timeline",
"subtitle": "Fourteen weeks from kick-off to launch",
"colors": [
"#2F6FED",
"#FF7A45",
"#16B39A",
"#F2B134",
"#8E5CF0",
"#E5487F",
"#5BC0EB",
"#7A8794"
],
"background": "#F5F3EE",
"ink": "#18212B",
"accent": "#2F6FED"
}
}
]
}Gantt timeline props
22 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
tasks | [{"label":"Research","start":0,"end":3,"group":"Plan","progress":1},{"label":"Concept &… | rows [{label, start, end, group?, color?, progress? 0-1}] in axis units |
milestones | [{"label":"Kick-off","at":0},{"label":"Beta","at":10},{"label":"Go live","at":14}] | diamond markers [{label, at}] in axis units (empty array = none) |
today | 7 | axis position of the "today" marker (outside the axis range or negative = hidden) |
todayLabel | "TODAY" | text in the today pill |
title | "Project timeline" | headline (empty = none) |
subtitle | "Fourteen weeks from kick-off to launch" | small line under the headline (empty = none) |
axisMin | 0 | left end of the axis (with axisMax = 0 both are automatic) |
axisMax | 0 | right end of the axis (0 = automatic) |
tickStep | 0 | distance between axis ticks (0 = automatic) |
tickPrefix | "W" | text before axis numbers, e.g. "W" or "Day " |
tickSuffix | "" | text after axis numbers |
tickLabels | [] | optional names for whole-number ticks, e.g. ["Jan","Feb","Mar"] (index = value) |
showDurations | true | print each task length on or after its bar |
durationSuffix | " wk" | text after the length, e.g. " wk", "d" |
showProgress | true | fill the completed part of each bar from its progress value |
colors | ["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F","#5BC0EB","#7A8794"] | palette for groups |
background | "#F5F3EE" | page colour, or "transparent" to sit over other content |
ink | "#18212B" | text, grid and milestone colour |
accent | "#2F6FED" | bar colour for tasks without a group or colour |
fontFamily | "" | CSS font family (empty = Space Grotesk) |
startAt | 8 | frame the axis starts to appear |
speed | 1 | animation speed multiplier |
Related motions

Bar chart race
Rankings over time: market share by year, top products by quarter, followers by month, league tables, "who is winning" stories. Give the…
bar-race
Stacked area flow
Composition over time: revenue by product line, traffic by source, energy mix, users by plan, time spent by activity. Replace xLabels and…
stacked-area-flow
Bubble scatter grow
Three-variable comparisons: markets by size, growth and margin, countries, products, campaigns, startups. Pass points as [{label, x, y,…
bubble-scatter-grow
Comparison dumbbell
Change between two states per item: before vs after, last year vs this year, plan vs actual, men vs women, A vs B, scores pre- and…
comparison-dumbbell
Donut breakdown
Share-of-total stories on any brand: revenue by channel, budget split, traffic sources, survey answers, market share. Replace data,…
donut-breakdown
Funnel conversion
Sales and signup funnels, hiring pipelines, checkout drop-off, content-to-lead stories, any "how many survive each step" breakdown.…
funnel-conversion
Notes & credits
Technique sources:
- original round-3 chart motion