Skip to content
Alea0.1
Pro
  1. Alea
  2. Components
  3. Workflow
  4. RoadmapTimeline and CycleProgress

WorkflowAlea Pro

RoadmapTimeline and CycleProgress

Projects on a time line with their progress and today marked, and a cycle at a glance: scope, started and done day by day.

import { RoadmapTimeline, CycleProgress } from '@alea/pro';

Examples

Roadmap

Projects from start to end with their progress, the months on top and today marked.

  • Mobile app 2.0, Aug 4 - Nov 20, 70% done
  • Billing, Sep 10 - Dec 5, 35% done
  • Agents in the inbox, Oct 3 - Jan 15, 10% done
  • Accessibility pass, Sep 1 - Oct 25, 90% done

Cycle

Scope, started and done each day of a two week cycle, the numbers on top and the target line dashed.

Cycle 144Oct 9 - Oct 23
Scope
26
In progress
21
Done
16 (62% done)
Cycle 144
DayScopeIn progressDone
Oct 92230
Oct 102351
Oct 112473
Oct 122595
Oct 1326117
Oct 1426139
Oct 15261510
Oct 16261712
Oct 17261914
Oct 18262116

Tokens

The design tokens this component reads, with their value in the current theme. Override any of them to restyle it.

Color

  • --alea-border…
  • --alea-status-danger…
  • --alea-surface…
  • --alea-text…
  • --alea-text-muted…

Radius

  • --alea-radius-md…
  • --alea-radius-sm…

Type

  • --alea-font-size-xs…
  • --alea-font-weight-medium…
  • --alea-font-weight-regular…

Motion

  • --alea-motion-duration-fast…
  • --alea-motion-duration-slow…
  • --alea-motion-ease-out…

Props

RoadmapTimeline props

Projects on a time line: a bar from start to end with its progress, months across the top and a line for today. Each project is a list item that says its dates and progress in words.

PropTypeDefaultDescription
itemsrequiredRoadmapItem[]-The projects: name, start, end, and optional progress, status and href.
aria-labelstring-Name of the roadmap.
classNamestring-Extra class names for the root element.
fromDate-First and last day shown. Default: from the earliest start to the latest end, by whole months.
showTodaybooleantrueMarks today. Default true.
toDate-Last day shown. Default the end of the month of the latest end.

CycleProgress props

A cycle at a glance: how much is in scope, started and done each day, and where it stands now. The chart is a picture; the numbers are in the text and in a table for screen readers.

PropTypeDefaultDescription
daysrequired{ scope: number; started: number; completed: number; }[]-Per day from the start: total scope, started and completed (counts or points).
endrequiredDate-Last day of the cycle.
namerequiredstring-The cycle's name: "Cycle 144".
startrequiredDate-First day of the cycle.
classNamestring-Extra class names for the root element.

Specs

Generated from the source: the variants in the types, the states and tokens in the CSS, and the motion patterns that apply. The grids render the real component in both themes; the numbers are measured from the page.

RoadmapTimeline

States
Hover (CSS)
Dark and light
Every color comes from theme tokens, so it follows data-theme (and presets like Graphite) on the page or any wrapper. Contrast is checked in both themes.
Styling hooks
.alea-roadmap.alea-roadmap-months.alea-roadmap-rows.alea-roadmap-row.alea-roadmap-bar.alea-roadmap-fill.alea-roadmap-name.alea-roadmap-lead.alea-roadmap-today.alea-roadmap-grid

CycleProgress

Dark and light
Every color comes from theme tokens, so it follows data-theme (and presets like Graphite) on the page or any wrapper. Contrast is checked in both themes.
Styling hooks
.alea-cycle.alea-cycle-head.alea-cycle-name.alea-cycle-dates.alea-cycle-stats.alea-cycle-chart.alea-cycle-area.alea-cycle-line.alea-cycle-target
Data attributes
data-k=starteddata-k=completed

Accessibility

  • Each project is a list item that says its name, dates and progress in words; the bars are the picture.
  • The cycle chart is decorative; its numbers are in the text above it and in a table for screen readers.

Keyboard

KeyDoes
TabMoves through the projects that link somewhere

Do and don't

Do

  • Keep a roadmap to the projects that matter this quarter.
  • Show the cycle's scope line so added work is visible.

Don't

  • Don't use bar color alone to say a project is late: say it in the name or a label.

In Figma

RoadmapBar with Progress and CycleProgress with the three series.

Tested with axe, keyboard and screen reader roles