@288-toolkit/back-to-top
v3.0.4
Published
A Svelte component that renders a button that scrolls the window back to the top when clicked.
Downloads
149
Readme
Back-to-top
A Svelte component that renders a button that scrolls the window back to the top when clicked.
<BackToTop class="size-100 fixed bottom-0 right-0 bg-[green]">Scroll up</BackToTop>