Scroll Area

A native scroll container with custom scrollbars.

Installation

Add the component to your project using the following command:

Usage

Import

Import the component and its related parts.

Scroll Area Parts

Structure

The expected structure and composition of the component.

Anatomy

Props

Each component part, its responsibility, and the props it exposes.

<ScrollArea>

The scroll area component.

Base behavior is provided by Base UI Scroll Area. Refer to its documentation for the full API.
Name
Default
Options
`scrollbar`
`both`
`horizontal``vertical``both``false`