https://github.com/ehsan-shv/vb-smooth
Vue3 and Nuxt3 smooth scroll component.
https://github.com/ehsan-shv/vb-smooth
custom-scrollbar nuxt3 scrollbar smooth-scrolling typescript vue3
Last synced: about 1 month ago
JSON representation
Vue3 and Nuxt3 smooth scroll component.
- Host: GitHub
- URL: https://github.com/ehsan-shv/vb-smooth
- Owner: ehsan-shv
- Created: 2022-02-22T16:50:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T18:26:01.000Z (over 4 years ago)
- Last Synced: 2025-10-07T21:51:29.322Z (8 months ago)
- Topics: custom-scrollbar, nuxt3, scrollbar, smooth-scrolling, typescript, vue3
- Language: JavaScript
- Homepage: https://ehsan-shv.github.io/vb-smooth/
- Size: 573 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vb-smooth
> Smooth scroll component for Vue3 and Nuxt apps. [Demo](https://ehsan-shv.github.io/vb-smooth/)
## Instalation
```bash
npm i vb-smooth
```
## Vue and Nuxt Example
```js
// Your Content...
import VBSmooth from 'vb-smooth';
export default {
components: { VBSmooth },
};
```
## Vue and Vue Router Example
```js
import VBSmooth from 'vb-smooth';
export default {
components: { VBSmooth },
};
```
## Customize
Check out options at [docs](https://github.com/idiotWu/smooth-scrollbar).
```js
// Your Content...
import { ref } from 'vue';
import VBSmooth from 'vb-smooth';
export default {
components: { VBSmooth },
setup() {
const options = ref({
// options
});
return {
options,
};
},
};
```