---
url: "https://vueda.dev/v3/reference/theming/keys/ScrollArea.md"
title: "ScrollArea"
---

# ScrollArea

Source: `client/lib/theme/vueda-tailwind/shell/index.js`

> The root wrapper for a custom scroll area. It establishes relative positioning for scrollbars without adding surface chrome.

Vue component: [ScrollArea](/v3/reference/api/vue/ScrollArea.md)

| Slot | Default classes | Description |
| --- | --- | --- |
| [root](/v3/reference/theming/keys/ScrollArea.md#theme-key-ScrollArea-root) | `relative` | The root wrapper for a custom scroll area. It establishes relative positioning for scrollbars without adding surface chrome. |
| [viewport](/v3/reference/theming/keys/ScrollArea.md#theme-key-ScrollArea-viewport) | `size-full rounded-[inherit] transition-colors focus-visible:focus-ring` | The focusable viewport inside a scroll area. It inherits the parent radius and exposes a keyboard focus outline around the scrolling region. |

<a id="theme-key-ScrollArea-root"></a>

## root

> The root wrapper for a custom scroll area. It establishes relative positioning for scrollbars without adding surface chrome.

Default classes:

`relative`

Source: `client/lib/theme/vueda-tailwind/shell/ScrollArea.theme.js:18`

<a id="theme-key-ScrollArea-viewport"></a>

## viewport

> The focusable viewport inside a scroll area. It inherits the parent radius and exposes a keyboard focus outline around the scrolling region.

Default classes:

`size-full rounded-[inherit] transition-colors focus-visible:focus-ring`

Source: `client/lib/theme/vueda-tailwind/shell/ScrollArea.theme.js:24`
