1. Docs

Scroll To Top

Add floating button which activates when user start scrolling down the page, on click they can to the top of page.

Usage

<script>
  import ScrollToTop from '$lib/dist/components/ScrollToTop.svelte';
</script>

<ScrollToTop />