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';Examples
Long page
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | 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
Web only
Scroll Progress has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.