---
description: We use perfect scrollbar to remove browser default scrollbar
---

# Perfect Scrollbar

We have used **global registration** in whole template for perfect scrollbar.

Please refer to the official docs [here](https://github.com/mercs600/vue3-perfect-scrollbar#local-registration).

## Setup

**main.ts** (for globally setup)

```typescript
import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar'

import 'vue3-perfect-scrollbar/style.css' // for scrollbar css

app.use(PerfectScrollbarPlugin)

```

## How to use in our local files ?

```actionscript
<PerfectScrollbar style="height: 265px"> // Set height as per your content
        // Add long content
</PerfectScrollbar>
```
