Scroll Area
Custom styled, cross-browser scrollable area using native functionality.
Basic Example
Control the scrollable axes
Use the scrollbars
prop to limit scrollable axes. This prop can take values "vertical" | "horizontal" | "both"
.
Setting the type of the Scrollbars
The type
prop describes the nature of scrollbar visibility.
auto
means that scrollbars are visible when content is overflowing on the corresponding orientation.
always
means that scrollbars are always visible regardless of whether the content is overflowing.
scroll
means that scrollbars are visible when the user is scrolling along its corresponding orientation.
hover
when the user is scrolling along its corresponding orientation and when the user is hovering over the scroll area.
API Reference
rx.scroll_area
Custom styled, cross-browser scrollable area using native functionality.