Scroll-linked bar
createScroll → createTransform → MotionValue-driven width.
Scroll the page — the fixed bar at the top of the viewport tracks scrollYProgress from 0 to 1.
Spacer content. The page is intentionally tall so the bar has somewhere to go.