design-infraGitHub
Report a problem or share feedback← Catalog

Scroll Progress

curatedtheme-awarefree

smoothui/scroll-progress

A reading-progress indicator with bar, ring, number and segmented variants.

scroll — subtledrop-inRefinedEditorial
$npx shadcn@latest add @smoothui/scroll-progress

npm deps: motion

Our notes

Reading-progress indicator in four variants (bar, ring, rolling percent number, segmented), spring-smoothed via useScroll, for the window or a scroll container. Default colour is var(--color-brand) from tokens.json — pass color="var(--primary)" (or define --brand). Articles, docs and long onboarding pages.
Source
SmoothUI
Kind
effect
Categories
scroll-effect
Use as
drop-in — replaces your component
Applies to
scroll-effectnavigationblog
Motion
on scroll · subtle · motion · medium cost · respects reduced motion
Tags
scroll, progress, reading, indicator, bar, ring, complexity-medium, reduced-motion
Licence
MIT ("MIT License — Copyright (c) 2024 Eduardo Calvo", github.com/educlopez/smoothui).
Live demo
smoothui.dev
Docs
smoothui.dev