react-smooth-scrolling
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

React Smooth Scrolling

Live preview here

Introduction

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

Quick Start

import { SmoothProvider } from 'react-smooth-scrolling'
 
function App() {
  return (
    <SmoothProvider skew={true} />
      <MyCustomPage>
    </SmoothProvider>
  )
}

Props

ease (optional): Stiffness. Default value: 0.1. Min: 0; Max: 1.

skew: Enable distortion.

Readme

Keywords

none

Package Sidebar

Install

npm i react-smooth-scrolling

Weekly Downloads

81

Version

1.0.2

License

MIT

Unpacked Size

6.63 kB

Total Files

6

Last publish

Collaborators

  • guilhermerodz