ScrollArea
Scroll overflowing content inside a bounded region.
Installation
Install ScrollArea from the Fluid Effect UI registry.
Vertical scrolling
Horizontal scrolling
API Reference
Types come from the public API. A dash indicates no default is documented here.
ScrollArea props
Public source| Prop | Type | Default |
|---|---|---|
key | string | Required |
children | View.Children<Msg, R> | Required |
props.overflowEdgeThreshold | Show typenumber | { readonly xStart?: number | undefined; readonly xEnd?: number | undefined; readonly yStart?: number | undefined; readonly yEnd?: number | undefined; } | undefined | — |
orientation | "horizontal" | "vertical" | "both" | 'vertical' |
direction | "ltr" | "rtl" | 'ltr' |
shape | ShapeVariant | 'rounded' |
ariaLabel | string | — |
className | string | — |
viewportClassName | string | — |
contentClassName | string | '' |
fade | boolean | — |
dividers | boolean | — |
keepMountedHorizontal | boolean | — |
keepMountedVertical | boolean | — |