Skip to content

ScrollBar ​

Overview ​

The scrollbar track and thumb for a ScrollArea.

Theme entry: ScrollBar

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
orientationstring"vertical"The orientation of the scrollbar.
forceMountbooleanundefinedWhether to force mount the scrollbar.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Source ​

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