Skip to content
nexubDesign System
v11.9.0

Components · Motion

Scroll Progress

BetaAdded v4.4.0

A thin bar along the top that fills as the page scrolls. CSS only.

import { ScrollProgress } from '@nexub/react';
View as Markdown

Examples

Long page

Scroll this page: the bar along the very top of the window fills as you read.

Props

Props
PropTypeDefaultDescription
classNamestring—Position or colour overrides. Defaults to the accent (the Vivid gradient under data-expression="vivid").

Accessibility

Screen reader

  • Decorative (`aria-hidden`); hidden under reduced motion and where scroll-driven animations are not supported.

On iOS & Android