ScrollbarOptions
Defined in: ui/src/types.ts:793
Size / style of the ScrollView scrollbar thumb.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: ui/src/types.ts:799
Thumb alpha. Default 0.4.
color?
Section titled “color?”
optionalcolor?:number
Defined in: ui/src/types.ts:797
Thumb color. Default 0xffffff.
margin?
Section titled “margin?”
optionalmargin?:number
Defined in: ui/src/types.ts:805
Gap between the thumb and the viewport edge in px. Default 2.
minThumbLength?
Section titled “minThumbLength?”
optionalminThumbLength?:number
Defined in: ui/src/types.ts:803
Minimum thumb length along the scroll axis in px. Default 20.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: ui/src/types.ts:801
Thumb corner radius. Default thickness / 2.
thickness?
Section titled “thickness?”
optionalthickness?: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.