# easy-scrollbar

> A minimalist wrapper for react-perfect-scrollbar that ensures the scrollbar sticks to the bottom.

Latest version **1.0.6** (published 2023-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install easy-scrollbar
pnpm add easy-scrollbar
yarn add easy-scrollbar
bun add easy-scrollbar
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-08-20 |
| First published | 2023-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Martin Ouimet |
| Maintainers | infinisoft-world |
| Keywords | react, scrollbar, perfect-scrollbar, component, UI |

## Links

- npm: https://www.npmjs.com/package/easy-scrollbar
- Repository: https://github.com/infinisoft-inc/easy-scrollbar
- Homepage: https://github.com/infinisoft-inc/easy-scrollbar#readme
- Issues: https://github.com/infinisoft-inc/easy-scrollbar/issues
- npm.io page: https://npm.io/package/easy-scrollbar

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2023-08-20
- 1.0.5 — 2023-08-18
- 1.0.4 — 2023-08-15
- 1.0.3 — 2023-08-12
- 1.0.2 — 2023-08-11
- 1.0.1 — 2023-08-11
- 1.0.0 — 2023-08-11

## README

# EasyScrollBar

Ever spent hours trying to get a scrollbar to stick to the bottom? Ever felt like throwing your computer out the window because of it? Well, fret no more! Introducing `EasyScrollBar` - the minimalist wrapper around `react-perfect-scrollbar` that does one thing and does it well: sticks that scrollbar right where you want it - at the bottom!

## Why Does This Exist?

Because life's too short to spend hours on scrollbars. And because we believe that no one should write 25 lines of code and waste 2 hours for such a simple task. So, we made it easy for you. You're welcome!

## Getting Started

### Installation


Then, install `EasyScrollBar`:

```bash
npm install easy-scrollbar
```

### Usage

Here's a simple example:

```jsx
import React from 'react';
import {EasyScrollBar} from 'easy-scrollbar';

function MyComponent() {
  return (
    <EasyScrollBar trigger={myTriggerVariable}>
      {/* Your overflowing content here */}
    </EasyScrollBar>
  );
}
```

### Props

- `trigger`: A variable that, when changed, will cause the scrollbar to stick to the bottom. Useful if you're adding new content to the scrollable area and want the scrollbar to adjust.
- `any other props`: Any props will be passed down to `React Perfect Scrollbar`

## A Fun Note

Remember the time when you tried to use a stick and a piece of string to retrieve a toy from under the bed? This is like that, but for scrollbars. And way more effective!

---

---
_Source: https://npm.io/package/easy-scrollbar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
