Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

ScrollArea

ScrollArea is a component that displays a customized scrollbar.

Source@yamada-ui/scroll-area

Props

ScrollAreaProps

innerProps

Description

Props for inner element.

Type

HTMLUIProps

onScrollPositionChange

Description

Callback function for when the scroll position changes.

Type

({ x, y }: { x: number; y: number }) => void

scrollHideDelay

Description

Delay in milliseconds before scrollbars are hidden.

Type

number

Default

1000

type

Description

Scrollbar visibility type.

Type

"always" | "hover" | "never" | "scroll"

Default

'hover'

Edit this page on GitHub

PreviousDockableNextInfiniteScrollArea