

# Scroll Area

Custom scroll area component.

# Installation

Copy the following code into your app directory.


> **Error: 'ScrollArea' not found in registry**


# Usage


> **Error: 'scroll_area' not found in registry**


# Anatomy 
Use the following composition to build a `Scroll Area`


```python
scroll_area.root(
    scroll_area.viewport(
        scroll_area.content(),
    ),
    scroll_area.scrollbar(
        scroll_area.thumb(),
    ),
    scroll_area.corner(),
)
```



# Examples

Below are examples demonstrating how the component can be used.

## General
A simple vertical scroll area.


> **Error: 'scroll_area_general' not found in registry**


## Horizontal
Use `scroll_area.scrollbar()` with `orientation="horizontal"` for horizontal scrolling.


> **Error: 'scroll_area_horizontal' not found in registry**

