Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saidMounaim/React-Use-Smooth-Scroll

React Provider Component to add a smooth scroll effect 😍
https://github.com/saidMounaim/React-Use-Smooth-Scroll

javascript reacthooks reactjs smooth-scrolling

Last synced: 4 months ago
JSON representation

React Provider Component to add a smooth scroll effect 😍

Awesome Lists containing this project

README

        

# React Use Smooth Scroll

> React Provider Component to add a smooth scroll effect 😍

[![NPM](https://img.shields.io/npm/v/react-use-scroll-effects.svg)](https://www.npmjs.com/package/react-use-scroll-effects) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Live demo: [https://react-smooth-scroll-effect.netlify.app/](https://react-smooth-scroll-effect.netlify.app/)

## Install

```bash
npm install --save react-use-smooth-scroll
```

## Usage

```jsx
import React from 'react'

import { UseEffectScroll } from 'react-use-smooth-scroll'
import 'react-use-smooth-scroll/dist/index.css'

const App = () => {
return (


Section 1




Section 2




Section 3




Section 4




)
}

export default App
```

## License

MIT © [saidMounaim](https://github.com/saidMounaim)