Skip to content

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
PropTypeDefault
keystringRequired
childrenView.Children<Msg, R>Required
props.overflowEdgeThreshold
Show type
number | { 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'
shapeShapeVariant'rounded'
ariaLabelstring—
classNamestring—
viewportClassNamestring—
contentClassNamestring''
fadeboolean—
dividersboolean—
keepMountedHorizontalboolean—
keepMountedVerticalboolean—