Scroll Area
The scroll-area component.
displaylayout
Loading preview...
Installation
npx baseui-cn add scroll-areaAPI
ScrollArea
| Prop | Type | Default | Description |
|---|---|---|---|
scrollFade | boolean | false | Apply CSS mask fade edges to indicate scrollable overflow |
scrollbarGutter | boolean | false | Add padding on the overflow axis to prevent layout shift when the scrollbar appears |
API Reference
See the Base UI ScrollArea documentation for the full API reference, including all props, data attributes, and CSS classes.