Timeline 02
A horizontal product roadmap — milestones run left to right on desktop and collapse to a vertical list on mobile, with the current step highlighted.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About Timeline 02
Timeline 02 is a timeline section in the Timeline Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 29, 2026.
- timeline
- roadmap
- product roadmap
- horizontal timeline
- milestones
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: aria-label.
- HTML elements used: section, ol, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 1024px.
React + TypeScript + Tailwind CSS
3 files: Timeline02.jsx, Timeline02.types.ts, Timeline02.tailwind.css
- Typed data shapes: RoadmapStatus, RoadmapStep.
- Uses React hooks: useEffect, useRef.
- ARIA in the markup: aria-label.
- HTML elements used: section, ol, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.