Add Smooth Scrolling Effect To The Entire App Body

This is a React Provider Component which wraps your entire application body and adds a smooth scrolling effect to it.

Install & Import:

# Yarn
$ yarn add react-smooth-scrolling

# NPM
$ npm i react-smooth-scrolling --save
import { SmoothProvider } from 'react-smooth-scrolling'

Basic usage:

function App() {
  return (
    <SmoothProvider skew={true} ease={myEasing}>
      <MyCustomPage />
    </SmoothProvider>
  )
}

Preview:

Add Smooth Scrolling Effect To The Entire App Body

Download Details:

Author: guilhermerodz

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/guilhermerodz/react-smooth-scrolling

License: MIT

You Might Be Interested In:

Add Comment