Usage
Scrollbar types
Horizontal scrolling
API reference
ScrollArea
'always' | 'hover' | 'scroll'
default:"hover"
Controls when the scrollbar is visible:
always: Scrollbar is always visiblehover: Scrollbar appears on hoverscroll: Scrollbar appears during scroll
string
Additional CSS class for the scroll area root.
ReactNode
The scrollable content.
CSSProperties
Inline styles for the scroll area. Use to set height and width constraints.