Process
Workflow Plan
A Gantt-style project plan whose bars grow in one by one, with a draggable Now marker.
npx motionsnack add workflow-planCustomize
Accent
Accent Tint
Background
<WorkflowPlan />Props
20 properties
| Property | Type | Default | Description |
|---|---|---|---|
| dates | { label }[] | 10 dates, Feb 15 – Apr 30 | Labels on the axis, up to 12. Each label is one column. |
| tasks | { label; days; from; to; row; tone }[] | 8 demo phases | Bars, up to 12. from/to are axis columns, row can be fractional, tone is light | dark | accent | accentDark. |
| milestones | { at; kind; label? }[] | 4 demo milestones | Markers under the bars, up to 8. kind is pill | pillActive | diamond. |
| kicker | string | 'Timeline' | Small label above the headline. |
| title | string | 'From first call
to launch day' | Headline. Use \n for line breaks. |
| description | string | 'Every project runs on a shared plan. You always see what is done, what is next and when it ships.' | Paragraph under the headline. Leave empty to hide it. |
| planTitle | string | 'Workflow plan' | Title in the top left of the card. |
| planLength | string | '3,5 months' | Text in the top right of the card. |
| nowLabel | string | 'Now' | Label of the marker on the axis. |
| nowHint | string | 'Use arrow keys to move it.' | Screen-reader hint read after the label of the Now marker. |
| dayLabel | string | 'day' | Unit in the chip of a one-day bar. |
| fewDaysLabel | string | '' | Unit for 2–4 days, for languages that need it. Empty uses Days Label. |
| daysLabel | string | 'days' | Unit in the chips of the other bars. |
| now | number | 2.6 | Where the Now marker sits, in axis columns. |
| draggableNow | boolean | true | Let visitors drag the Now marker along the axis. |
| accent | string | '#0044ff' | Colour of the Now marker and the highlighted bars. |
| accentTint | string | '#9cc2ff' | Lighter tint blended into the accent: the Now line and the start of the highlighted bar. |
| background | string | '#000000' | Base colour of the section. Without a value: white, black in dark mode. |
| stagger | number | 0.08 | Delay per axis column as the bars grow in. |
| showMilestones | boolean | true | Show the milestone row under the bars. |
About Workflow Plan
A centred headline sits above a plan card. Bars for each phase grow from their start date, their day counts tick up and the highlighted bar shimmers. A Now line draws down the chart; every bar it crosses shows the finished part with moving stripes. Visitors can drag the Now marker along the axis, and hovering a bar dims the rest.
What's included
- Bars that grow in by start date
- Count-up day chips
- Draggable Now marker
- Progress stripes on crossed bars
- Hover focus on one phase
- Milestones row
- Horizontal scroll on mobile
- Type
- Animated process section for Next.js
- Library
- Sections · Process
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add workflow-plan