mizzle

Use Scroll Progress · mizzle

How far the page, or a scroll container, has been scrolled, from 0 to 1, kept current as it scrolls or resizes, with a setter that scrolls it to a fraction. Vertical by default. Pairs content with a progress indicator or a scrubber.

npx shadcn@latest add https://mizzle.saddy.me/r/use-scroll-progress.json

Use Scroll Progress is part of mizzle's licensed catalog

Sign in or get a license at mizzle to see its source and install it.