Scroll View

A scrollable container layer.

Updated over a week ago

A Scroll View layer displays its content within a scrollable content region. As a user scrolls on a screen, the Scroll View adjusts what portion of the underlying content is visible.

The Scroll View container can scroll Horizontally, Vertically, or Both, depending on the Axis that you set in the parameters. It also consists of the Shows Indicators Boolean property, which is a value that indicates whether the Scroll View displays the scroll bar while a user scrolls.

Note

Scroll View containers do not provide zooming functionality.

A Scroll View has an implicit VStack with a default spacing that automatically adapts to your content. To adjust the spacing and layout in your Scroll View, embed the content in a VStack.

Did this answer your question?