Skip to content

insekticid/preact-scroll-top-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This preact component will create srollToTop button on the bottom-right of your page

Button preview

How to use

import {h, render, } from "preact";

import ScrollTop from "./ScrollTop";
import "./scrollTop.scss";

render(<ScrollTop />, document.getElementById('scrollTop'));

About

preact component scroll to top button

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published