Lorre Blocks
GitHub

scroll-progress

magicui

A thin gradient bar fixed to the top of the viewport that fills as the page scrolls — rAF-throttled listener, no scroll-timeline. Only mirrors the user's own scrolling, so it stays on under prefers-reduced-motion.

npx lorre-blocks add scroll-progress

Look at the very top of the viewport, then scroll — the gradient bar tracks your reading progress.

Dependencies

Registry (installed automatically)

Tags: scroll · progress · bar · reading · indicator · motion