Skip to main content

Scroll Area

Scroll Area scrolls content within a set size, like a long activity log or a wide timeline. It replaces native scrollbars with themed ones that stay visible, appear on hover, or stay hidden.

Import

import { ScrollArea } from '@vortexlabs/vortex';
import type { ScrollAreaProps } from '@vortexlabs/vortex';

Other links

ScrollArea props
PropTypeDefaultAttributes
children
React.ReactNode
No default value
scrollbar
union
hover
onScroll
callback
No default value
height
union
No default value
maxHeight
union
No default value
width
union
No default value
maxWidth
union
No default value
className
union
No default value
attributes
object
No default value
scrollableAttributes
object
No default value
ref
ref
No default value