Scroll Progress Bar

A reading bar that fills as your visitors scroll. Pin it to the top of any page and readers always know how much is left. Scroll this page to see it work.

How to add it

Copy the component link, press Cmd+V on your Framer canvas and the bar lands on your page. Set its position to Fixed, pin it to the top edge, stretch the width to 100% and give it a height of 3 to 6 pixels. That is the whole setup.

It reads the scroll position of the whole page, so it works on long landing pages, blog posts, CMS detail pages and docs. There is nothing to connect and no code to touch.

What you can change

Fill colour, or a two-colour gradient like the one at the top of this page. A track colour behind the bar if you want the empty part visible. Corner radius for a pill shape. Horizontal or vertical direction, so it can also run down the side of a page.

Smooth mode puts a spring on the fill so it glides instead of jumping. Turn the stiffness up for a snappier bar or down for a softer one. Switch smooth off and the bar follows the scroll one to one.

Why it helps

People leave long pages when they cannot tell how long they are. A progress bar answers that question without a single word. It is a small detail, but small details are what make a site feel finished.

It is also cheap. The bar animates with a transform, so the browser does not repaint the page while you scroll, and it adds almost nothing to your page weight.

Create a free website with Framer, the website builder loved by startups, designers and agencies.