View Source VSplitView

<VSplitView>

Container with resizable splits between elements.

Overview

Each element in the container will be in a separate resizable section. If the element does not take up all available space, the section will only be able to shrink.

<VSplitView>
    <Rectangle fillColor="system-red" />
    <Rectangle fillColor="system-blue" />
</VSplitView>

SwiftUI Documentation

See SwiftUI.VSplitView for more details on this View.