ScrollArea

ScrollArea is a cross browser, lightweight and themable alternative to native browser scrollbar.

Automobiles
PREVIEW

A custom scrollable container with styled scrollbars.

Automobiles
basic-demo

ScrollArea supports horizontal scrolling for content that extends beyond the horizontal viewport.

horizontal-demo

Both vertical and horizontal scrollbars are displayed when the content overflows in both directions.

both-scrollbars-demo

The mask property adds a gradient fade effect at the scroll edges.

Automobiles
fade-demo

Change the visibility behavior of scrollbars with the variant property.

Automobiles
variant-demo

Scrollbar and thumb elements can be customized using classes on the sub-components.

Automobiles
custom-demo

Screen Reader

ScrollArea hides the native scrollbar visually while leaving the underlying viewport scrollable. The viewport remains keyboard scrollable so assistive technologies can still navigate the content using standard scroll semantics.

Keyboard Support

KeyFunction
tabMoves focus to interactive content inside the scroll area.
arrow keysScroll the focused viewport in the corresponding direction (native browser behaviour).
page up / page downScroll by one viewport height.
home / endScroll to the start or the end of the viewport.
Theme Designer