Scroll

Scroll container utilities: overflow, overflowX, overflowY, scrollbarWidth, scrollbarGutter, and scrollbarColor.

scrollbarWidth

Controls the width of the scrollbar. auto is the platform default, thin is a narrower hint, none hides it entirely (content still scrollable).

auto

thin

none

scrollbarColor

Sets the thumb and track colours using border color tokens. The track is transparent by default.

neutral

neutralLight

scrollbarGutter

Reserves space for the scrollbar so layout doesn't shift when content becomes scrollable. stable always reserves the gutter; stable both-edges mirrors it on both sides for symmetry.

auto

stable

stable both-edges

overflowX and overflowY

Clip or scroll on individual axes independently.

overflowX="auto" — horizontal scroll

overflowY="auto" — vertical scroll