Skip to content
R

react-scroll-up

React component to render element for scroll to top of page

by milosjandaFree

#745in UI Libraries
0In stores

Description

react-scroll-up is a React component that adds a button for scrolling back to the top of a page. You supply the button's content, such as an…

Highlights

  • Scroll-to-top button for React
  • Set show position and scroll target
  • Duration and easing options
  • onShow and onHide callbacks

Ratings & Reviews

No ratings yet

Be the first to rate react-scroll-up.

People also visit

R

react-scroll

React scroll component

UI Libraries
Launch
R

react-scroll-trigger

React component tied to scroll events

UI Libraries
Launch
R

react-custom-scroll

Easily customize the browser scroll bar with native OS scroll behavior

UI Libraries
Launch
R

react-scrollchor

A React component for scrolling to #hash links with smooth animations

UI Libraries
Launch
R

react-waypoint

A React component to execute a function whenever you scroll to an element

UI Libraries
Launch
R

react-scrollbar

ScrollArea component for react

UI Libraries
Launch

react-scroll-up FAQ

What is react-scroll-up?

A React component that shows a button for scrolling back to the top of a page.

How do I install it?

The README has an install section with the npm command.

How do I set when the button shows?

Use the showUnder property. It is required and takes a position in pixels.

Can I change the scroll speed or style?

Yes. duration sets the scroll time, easing sets the motion curve, and style lets you change the button's look and position.

Does it work in old browsers?

It uses requestAnimationFrame, and the README suggests a polyfill for older browsers such as IE9 and earlier.

What are the best react-scroll-up alternatives?

Popular alternatives to react-scroll-up include react-scroll, react-scroll-trigger and react-custom-scroll. See all react-scroll-up alternatives

Developer Stuff

Badges