+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getScrollbarWidth"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++

## getScrollbarWidth() function

### getScrollbarWidth() function

<b>Signature</b>

```typescript
export declare function getScrollbarWidth(): number;
```
<b>Import</b>

```typescript
import { getScrollbarWidth } from '@grafana/ui';
```
<b>Returns:</b>

`number`

