0
Components
API reference

Scroll Area

A scrollable viewport with custom overlay scrollbars, edge fade masks, and overscroll containment built on Base UI.

Installation

Usage

Examples

Scroll Fade

Horizontal

Both Axes

Scrollbar Gutter

API Reference

ScrollArea

Wraps Base UI ScrollArea.Root, Viewport, Content, both vertical and horizontal ScrollBars, and Corner.

PropTypeDefaultDescription
scrollFadebooleanfalseApplies smooth edge fade masks along overflowing axes
scrollbarGutterbooleanfalseReserves padding along the scrollbar edge when content overflows
fillbooleanfalseExpands the inner content wrapper to size-full
clampContentMinWidthbooleantrueSets min-width: 0 on the content element to prevent flex overflow
overscrollContainbooleanfalseApplies overscroll-contain on overflowing axes to stop scroll chaining
classNamestring-Additional CSS classes applied to the root element
...propsBase UI ScrollArea Root props-All other ScrollArea Root props are supported

ScrollBar

Overlay scrollbar track and draggable thumb that appears on hover or active scrolling.

PropTypeDefaultDescription
orientation"vertical" | "horizontal""vertical"Scrollbar axis
classNamestring-Additional CSS classes
...propsBase UI Scrollbar props-All standard scrollbar attributes

© taut ui — built with Base UI and Tailwind CSS v4.