Components / component

Scroll Progress Ring

v1.0.0 · premium

A back-to-top button with a ring that fills as you scroll, appearing once you have left the top.

Scroll Progress Ring demo

Implementation

A back-to-top button with a ring that fills as you scroll, appearing once you have left the top.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function ScrollProgressRing({ label = 'Back to top', showAfter = .08, ink, paper, className }: {
  /** Accessible name of the button. */
  label?: string;

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · A back-to-top button with a ring that fills as you scroll, appearing once you have left the top.

Frequently asked questions

Is the back to top control a real button?

Yes. It is a button with an accessible name, and while it is hidden it is removed from the tab order.

When does it appear?

After the visitor has scrolled past a fraction of the page you choose, 8 percent by default.