Web · layout
Chapter Progress Rail
Also called: scroll progress bar, reading progress
What it is
A thin rail fills as you read and lights up chapter marks, so a long page feels like a book with a spine.
What it says: Orientation in a long story.
How it is usually built: animation-timeline: scroll(), plus IntersectionObserver for the chapters
With reduced motion: A static chapter list.
The live demo runs in the Lookbook: open Chapter Progress Rail there.
The prompt
Paste it into a coding AI building the page.
Prompt
a fixed vertical progress rail on the left that fills with scroll progress and lights five chapter marks as their sections enter the viewport, CSS scroll-driven animation
Not this
What it gets confused with, or how it fails. Use it as a negative prompt where the tool takes one.
Not this
Not a loading bar: it tracks reading, and each chapter mark jumps to its section.