# smooth-scrollbar-vue

> Smooth scrollbar for Vue.js projects

Latest version **0.1.1** (published 2020-07-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install smooth-scrollbar-vue
pnpm add smooth-scrollbar-vue
yarn add smooth-scrollbar-vue
bun add smooth-scrollbar-vue
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-07-04 |
| First published | 2020-07-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | tobemaster56 |
| Maintainers | yiranphp |
| Keywords | vue.js, smooth, scrollbar |

## Links

- npm: https://www.npmjs.com/package/smooth-scrollbar-vue
- Repository: https://github.com/tobemaster56/vue-smooth-scrollbar
- Homepage: https://github.com/tobemaster56/vue-smooth-scrollbar#readme
- Issues: https://github.com/tobemaster56/vue-smooth-scrollbar/issues
- npm.io page: https://npm.io/package/smooth-scrollbar-vue

## Dependencies (1)

- [smooth-scrollbar](https://npm.io/package/smooth-scrollbar.md) ^8.3.1

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2020-07-04
- 0.1.0 — 2020-07-04

## README

# Vue Smooth Scrollbar
Smooth Scrollbar for Vue.js projects. Based on [@idiotwu's smooth-scrollbar](https://idiotwu.github.io/smooth-scrollbar/).
## Usage
### 1. Install dependency

```
npm install --save smooth-scrollbar-vue
```
### 2. Import component into main.js
```
// src/main.js
import Vue from 'vue'
...
import SmoothScrollbar from 'smooth-scrollbar-vue'
Vue.use(SmoothScrollbar)
...
```
### 3. Use component in your templates
```
<template>
  <div id="scroll-area">
    <smooth-scrollbar>
      <div id="example-content"></div>
    </smooth-scrollbar>
  </div>
</template>

<style>
  #scroll-area {
    width: 500px;
    height: 500px;
  }

  #example-content {
    width: 2000px;
    height: 2000px;
  }
</style>
```

## Backlog
* [x] Plugin structure
* [x] Basic implementation
* [x] Options
* [ ] Events
* [x] Methods
* [ ] Styling
* [ ] Build dist
* [ ] SSR / nuxt

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