svelte-scroll-progress-bar
This package provides a Svelte component that shows a bar at the top of the window whose progress advances as the user scrolls the document.
Usage
Install the NPM package svelte-scroll-progress-bar
to your project and then add it to your layout:
<script>
import { ScrollProgressBar } from 'svelte-scroll-progress-bar';
</script>
<div>
<ScrollProgressBar />
</div>