Skip to content

ScrollbarOptions

Defined in: ui/src/types.ts:793

Size / style of the ScrollView scrollbar thumb.

optional alpha?: number

Defined in: ui/src/types.ts:799

Thumb alpha. Default 0.4.


optional color?: number

Defined in: ui/src/types.ts:797

Thumb color. Default 0xffffff.


optional margin?: number

Defined in: ui/src/types.ts:805

Gap between the thumb and the viewport edge in px. Default 2.


optional minThumbLength?: number

Defined in: ui/src/types.ts:803

Minimum thumb length along the scroll axis in px. Default 20.


optional radius?: number

Defined in: ui/src/types.ts:801

Thumb corner radius. Default thickness / 2.


optional thickness?: number

Defined in: ui/src/types.ts:795

Thumb thickness (cross-axis) in px. Default 4.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.