# @kitce/react-use-fadeout-scroll

> React hook to apply fadeout effect to scroll container

Latest version **2.1.1** (published 2022-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kitce/react-use-fadeout-scroll
pnpm add @kitce/react-use-fadeout-scroll
yarn add @kitce/react-use-fadeout-scroll
bun add @kitce/react-use-fadeout-scroll
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2022-08-10 |
| First published | 2022-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | kitce |
| Maintainers | kitce |
| Keywords | react, hooks |

## Links

- npm: https://www.npmjs.com/package/@kitce/react-use-fadeout-scroll
- Repository: https://github.com/kitce/react-use-fadeout-scroll
- Homepage: https://github.com/kitce/react-use-fadeout-scroll#readme
- Issues: https://github.com/kitce/react-use-fadeout-scroll/issues
- npm.io page: https://npm.io/package/@kitce/react-use-fadeout-scroll

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2022-08-10
- 2.1.0 — 2022-08-10
- 2.0.0 — 2022-06-03
- 1.0.0 — 2022-06-02

## README

# react-use-fadeout-scroll
React hook to apply fadeout effect to scroll container

## Install

```bash
pnpm add @kitce/react-use-fadeout-scroll
```

## Documentation

[Documentation](https://kitce.github.io/react-use-fadeout-scroll/)

## Example
```tsx
import useFadeoutScroll from '@kitce/react-use-fadeout-scroll';

const ScrollContainer = () => {
  const [ref, style] = useFadeoutScroll<HTMLDivElement>({ yFadingRate: 0.3 });
  return (
    <div ref={ref} style={style}>
      {/* very long content */}
    </div>
  );
};
```

## License
MIT License

---
_Source: https://npm.io/package/@kitce/react-use-fadeout-scroll · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
