---
url: "https://vueda.dev/v3/reference/api/vue/ScrollArea.md"
title: "ScrollArea"
---

# ScrollArea

## Overview

A scroll area component built on Reka UI's ScrollAreaRoot with a custom scrollbar.

Theme entry: [ScrollArea](/v3/reference/theming/keys/ScrollArea.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-dir">dir</span> | `string` |  | `undefined` | The scroll direction(s) to allow. |
| <span id="prop-type">type</span> | `string` |  | `undefined` | The scrollbar display type. |
| <span id="prop-scrollHideDelay">scrollHideDelay</span> | `number` |  | `undefined` | The delay in ms before the scrollbar hides (when type is "scroll"). |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `false` | When true, merges props onto the child element instead of rendering a wrapper. |

## Slots

### `default` {#slot-default}

Slot.

## Source

`client/lib/shell/scroll-area/ScrollArea.vue`
