Scroll Area
Styled scrollbars for overflowing content.
Installation
Usage
Examples
Horizontal
Add a horizontal scrollbar for wide content.
Contact list
A realistic scrollable roster.
Both axes
Combine vertical and horizontal scrollbars for grids.
API reference
ScrollArea
| Prop | Type | Default |
|---|---|---|
childrenScrollable content. Give the area a fixed height. | ReactNode | - |
classNameAdditional classes merged on the root. rounding inherits to the viewport. | string | - |
ScrollAreaScrollbar
| Prop | Type | Default |
|---|---|---|
orientationScrollbar direction. Render one per axis you need. | "horizontal" | "vertical" | "vertical" |
classNameAdditional classes merged with the default scrollbar styles. | string | - |