Scroll-Drawn SVG Line

A hand-drawn underline sketches itself on load, then a winding route line draws down the page as you scroll, lighting up each step of a process as it arrives.

Designer notes

Draw the line as a single stroked path (not a filled shape) and export it as SVG with the stroke still a stroke. Note the stroke width, the line caps (round looks hand-drawn), and where along the page the drawing should start and finish. Hand-drawn marks (underlines, circles, arrows, signatures) and maps or routes work especially well. For timelines, mark where each step sits on the line.

Tags
Cost
Effort: LowPerf: Light
Libraries
GSAP 3.13 + DrawSVG + ScrollTrigger
Browser support
All modern browsers. With reduced motion on, the line and steps are shown fully drawn.
Added
2026-12-02 · jc