Skip to content
Theme:

Ui3nScrollbarHorizontal

Horizontal scrollbar component with customizable appearance and behavior.

Props

NameTypeDefaultDescription
thumbMinWidthstring | number | undefinedMIN_WIDTH No description provided
thumbWidthstring | number | undefined"auto" No description provided
thumbRadiusstring | number | undefined4 No description provided
thumbColorstring | undefined"var(--color-bg-control-accent-default)" No description provided
thumbHoverColorstring | undefined"var(--color-bg-control-accent-hover)" No description provided
thumbActiveColorstring | undefined"var(--color-bg-control-accent-focused)" No description provided
trackHeightstring | number | undefined6 No description provided
trackRadiusstring | number | undefined4 No description provided
trackColorstring | undefined"transparent" No description provided

Events

Event NameArguments / Value TypeDescription
scrollvalue: Event

Slots

Slot NameScope Props (v-slot)Description
#default

Public Methods & Exposes

Method NameSignature / TypeDescription
scrollTo()(options: ScrollToOptions) => void
getContainer()() => HTMLDivElement

Usage Examples

Simple horizontal scrollbar

Simple horizontal scrollbar

Basic horizontal scrollbar with content

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Item 9
Item 10
Item 11
Item 12
Item 13
Item 14
Item 15
Item 16
Item 17
Item 18
Item 19
Item 20

Custom styled scrollbar

Custom styled scrollbar

Scrollbar with custom colors and dimensions

Card 1
Card 2
Card 3
Card 4
Card 5
Card 6
Card 7
Card 8
Card 9
Card 10
Card 11
Card 12
Card 13
Card 14
Card 15
Card 16
Card 17
Card 18
Card 19
Card 20
Card 21
Card 22
Card 23
Card 24
Card 25
Card 26
Card 27
Card 28
Card 29
Card 30