Skip to content

ScrollArea

Overview

A scroll area component built on Reka UI's ScrollAreaRoot with a custom scrollbar.

Theme entry: ScrollArea

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
dirstringundefinedThe scroll direction(s) to allow.
typestringundefinedThe scrollbar display type.
scrollHideDelaynumberundefinedThe delay in ms before the scrollbar hides (when type is "scroll").
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Slots

default

Slot.

Source

client/lib/shell/scroll-area/ScrollArea.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2