Phox Elements
SCROLL Reading progress bars for Breakdance

Show visitors how far down the page they are

Scroll Progress Bar adds a slim bar to the top or bottom of the screen that fills as the visitor scrolls. It helps readers of long pages see how much is left. Pick a colour, height and one of five effects.

Top or bottom of the screen Five bar effects Never blocks clicks
Live demo

Scroll down and watch the top and bottom edges

This page has two bars. The one at the top uses the Glow effect and the one at the bottom uses Animated Stripes. Both fill as you scroll.

The five bar effects

NoneA solid bar in your colour.
StripesDiagonal light stripes over the colour.
Animated StripesThe same stripes, moving.
GlowA soft glow in the bar colour.
ShimmerA light sweep that runs along the bar.
How it works

Three steps to a progress bar

Add it to one page or to a whole template.

1

Add the element

Drop Scroll Progress Bar anywhere on the page or in a post template. It fixes itself to the edge of the screen.

2

Pick a position

Choose the top or bottom of the screen and set the bar height.

3

Style it

Choose the bar colour, a track colour and one of five effects.

Features

Small bar, clear progress

It needs no setup beyond the look.

Automatic tracking

Follows the scroll position of the whole page and fills from 0 to 100% as the visitor reaches the bottom.

Top or bottom

Fix the bar to the top or bottom edge of the screen.

Five effects

None, Stripes, Animated Stripes, Glow and Shimmer.

Bar and track colours

Set the bar colour and an optional track colour behind it.

Adjustable height

Choose a height from a thin line to a bold strip.

Z-index control

Set the stacking order so the bar sits above sticky headers or other fixed items.

Light on the page

A few lines of script, with a passive scroll listener and a short CSS transition.

Does not block clicks

The bar ignores the mouse, so links and buttons under it still work.

Responds to resizing

Recalculates when the window is resized, so the progress stays correct.

Use cases

Where it works best

Any page long enough to scroll for a while.

01

Blog posts

Show readers how far through an article they are.

02

Long guides

Give tutorials and documentation a sense of progress.

03

Sales pages

Keep visitors moving down long landing pages.

04

Terms and policies

Help people get through long legal text.

05

Case studies

Add a subtle brand touch to long project write-ups.

06

Recipes and how-tos

Show how far the reader is through the steps.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values. The bar needs no content settings.

ControlWhat it doesDefault
Options
Bar ColorColour of the progress bar.#6366F1
Track ColorColour of the full-width track behind the bar.Transparent
Bar HeightHeight of the bar, 1 to 20px on the slider.4px
Bar EffectNone, Stripes, Animated Stripes, Glow or Shimmer.None
PositionTop or bottom of the screen.Top
Z-IndexStacking order of the bar.9999
BordersBorder and corner radius settings.—
Tips & FAQ

Good to know

Where should I put the element?

Anywhere on the page. It is fixed to the top or bottom edge of the screen, so its place in the layout does not matter.

Can I add it to every post at once?

Yes. Add it to your single post template and every post gets the bar.

My sticky header covers the bar. What can I do?

Raise the Z-Index above your header, or move the bar to the bottom of the screen.

Does it track a section or the whole page?

The whole page. It fills as the visitor scrolls from the top of the page to the bottom.

Can I use two bars?

Yes, as this page shows. Put one at the top and one at the bottom, each with its own style.

Add Scroll Progress Bar to your next page

Scroll Progress Bar is included with Phox Elements, along with 150+ other premium elements for Breakdance.