Interactive demonstrations
Scroll Progress provides a visual indicator showing how far users have scrolled through your content. Perfect for long articles, documentation, and storytelling pages. The indicator updates in real-time as users scroll.
Get up and running in 1 minute with our Quick Start Guide!
View Quick Start Guide.scroll-progress — Fixed position indicator bar that fills based on scroll position
The scroll progress bar at the top of this page shows your reading progress. Scroll down to watch it fill!
Scroll progress is particularly useful for articles, blog posts, and documentation where readers want to know how much content remains.
15 min read • By Jane Developer
Responsive web design has become essential in modern web development. With users accessing websites from an ever-expanding array of devices—from smartphones to tablets to desktop computers—creating layouts that adapt seamlessly is no longer optional.
Responsive design is an approach to web development that ensures your content looks great and functions well on any screen size. Rather than creating separate versions of your site for different devices, responsive design uses flexible grids, layouts, and media queries to automatically adjust.
Pro Tip: The scroll progress bar at the top of this page helps readers track their progress through this article. Notice how it fills as you scroll down?
Customize the scroll progress bar to match your brand using simple CSS overrides.
background-color: #2196f3;background-color: #9c27b0;background-color: #ff9800;background: linear-gradient(...);top: 0; bottom: auto; (default)bottom: 0; top: auto;left: 0; width: 4px;right: 0; width: 4px;
/* Blue gradient bar at bottom, thicker */
.scroll-progress {
bottom: 0;
top: auto;
height: 6px;
background: linear-gradient(90deg, #2196f3 0%, #21cbf3 100%);
}
/* Vertical bar on left side */
.scroll-progress {
top: 0;
left: 0;
width: 5px;
height: 0; /* JS will update this instead of width */
background-color: #9c27b0;
}
Show readers how much of your article they've read, encouraging them to finish.
Help users navigate long technical docs by showing progress through sections.
Add subtle engagement tracking for storytelling or long-form sales pages.
Consider disabling or reducing scroll progress animation for users who prefer reduced motion:
@media (prefers-reduced-motion: reduce) {
.scroll-progress {
display: none; /* Hide for users who prefer reduced motion */
}
}
Notice the progress bar at the top of the page filling as you scroll through this content.
The scroll progress bar should be around 50% filled by now.
Scroll progress works seamlessly with all RSL components and layouts. It doesn't interfere with sticky navigation, modals, or off-canvas drawers thanks to proper z-index management.
Almost there...
The scroll progress bar should be at 100%. Great job exploring RSL Scroll Progress!
Read the Full Documentation