Timeline 04
A compact SaaS onboarding stepper — completed, active, and upcoming steps connected by a progress bar that fills as you go.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About Timeline 04
Timeline 04 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
- onboarding
- saas
- progress
- checklist
- stepper
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, aria-current.
- HTML elements used: section, ol, button, svg.
- Keyboard keys handled: ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 1024px.
React + TypeScript + Tailwind CSS
3 files: Timeline04.jsx, Timeline04.types.ts, Timeline04.tailwind.css
- Typed data shapes: StepState, OnboardingStep.
- Uses React hooks: useEffect, useRef, useState.
- ARIA in the markup: aria-label, aria-current.
- HTML elements used: section, ol, button, svg.
- Keyboard keys handled: ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.