svelte-scroll-progress-bar
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

svelte-scroll-progress-bar

SvelteScrollProgressBar GitHub issues GitHub forks GitHub stars GitHub license

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>

References

Package Sidebar

Install

npm i svelte-scroll-progress-bar

Weekly Downloads

6

Version

0.3.0

License

MIT

Unpacked Size

5.95 kB

Total Files

8

Last publish

Collaborators

  • pepibumur