Theme:
Ui3nScrollbarVertical
Vertical scrollbar component with customizable appearance and behavior.
Props
| Name | Type | Default | Description |
|---|---|---|---|
thumbMinHeight | string | number | undefined | MIN_HEIGHT | No description provided |
thumbHeight | string | number | undefined | "auto" | No description provided |
thumbRadius | string | number | undefined | 4 | No description provided |
thumbColor | string | undefined | "var(--color-bg-control-accent-default)" | No description provided |
thumbHoverColor | string | undefined | "var(--color-bg-control-accent-hover)" | No description provided |
thumbActiveColor | string | undefined | "var(--color-bg-control-accent-focused)" | No description provided |
trackWidth | number | undefined | 6 | No description provided |
trackRadius | string | number | undefined | 4 | No description provided |
trackColor | string | undefined | "transparent" | No description provided |
autoUpdate | boolean | undefined | true | No description provided |
Events
| Event Name | Arguments / Value Type | Description |
|---|---|---|
scroll | value: Event | — |
Slots
| Slot Name | Scope Props (v-slot) | Description |
|---|---|---|
#default | — | Default slot |
Public Methods & Exposes
| Method Name | Signature / Type | Description |
|---|---|---|
scrollTo() | (options: ScrollToOptions) => void | — |
getContainer() | () => HTMLDivElement | — |
updateMetrics() | () => void | — |
Usage Examples
Simple vertical scrollbar
Simple vertical scrollbar
Basic vertical scrollbar with content
Custom styled scrollbar
Custom styled scrollbar
Scrollbar with custom colors and dimensions