ScrollArea
Augments native scroll functionality for custom cross-browser styling
SSR mode
Examples
Default
API
The element family below can be composed together. Click an element to jump to its properties.
| Element | Purpose |
|---|---|
| ScrollArea | Wraps a viewport that applies cross-browser custom scrollbar styling. Consumers control the height / width on the outer element via ClassName; the inner viewport overflows. |
ScrollArea
Wraps a viewport that applies cross-browser custom scrollbar styling. Consumers control the height / width on the outer element via ClassName; the inner viewport overflows.
| Property | Type | Required | Description |
|---|---|---|---|
| ClassName | string? | Extra CSS classes appended to the outer container. Typically used to constrain height / width so the viewport can overflow. | |
| ChildContent | RenderFragment? | Scrollable content rendered inside the viewport. |