Progress Bar
Use the progress property from the Reactive API to display a visual scroll progress indicator that updates in real-time.
- JavaScript
- React
- Vue@3
Summary
Key API
| Property | Type | Description |
|---|---|---|
progress | number | Overall scroll progress percentage (0-100) |
Behavior
| Position | progress | Bar Width |
|---|---|---|
| Start | 0 | 0% |
| Middle | ~50 | ~50% |
| End | 100 | 100% |
Details
What is progress?
progress represents the current camera position as a percentage of the total scrollable range. Combining it with moveType: "freeScroll" allows continuous (non-snapping) progress updates, making it ideal for smooth progress bar animations.
Related Options
moveType: "freeScroll": Enables continuous progress changes without snapping to panel boundaries.bound: true: Ensures progress reaches exactly 0 at the start and 100 at the end.
Use Cases
When to use
- Image gallery scroll progress
- Onboarding step indicator
- Content reading progress
Related Links
Related API
progress: Scroll progress percentageconnectFlickingReactiveAPI: Connect Flicking to Reactive API
Related Demos
- Pagination: Dot pagination navigation
- Prev / Next: Previous/Next button navigation