---
title: "ArrangementView Components | Explore SwiftUI"
description: "A view that arranges primary and secondary content using an adaptive layout that responds to the environment"
canonical_url: "https://exploreswiftui.com/library/arrangementview"
meta:
  author: "Explore SwiftUI"
  "og:description": "A view that arranges primary and secondary content using an adaptive layout that responds to the environment"
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ArrangementView%2BComponents%2Cdescription_Explore%2B6%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2FycmFuZ2VtZW50dmlldyI%2Cs_waZ8zM-4q8_kWXsI.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ArrangementView Components | Explore SwiftUI"
  "twitter:description": "A view that arranges primary and secondary content using an adaptive layout that responds to the environment"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ArrangementView%2BComponents%2Cdescription_Explore%2B6%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2FycmFuZ2VtZW50dmlldyI%2Cs_waZ8zM-4q8_kWXsI.png"
  "twitter:title": "ArrangementView Components | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

# **ArrangementView Components**

A view that arranges primary and secondary content using an adaptive layout that responds to the environment.

6 components

![ArrangementView - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/243/variants/1530?v=1790273526551&r=2&w=412&q=75&f=webp)

### **ArrangementView**

Creates an arrangement view with a primary and secondary view.

![Overlay Arrangement Style - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/250/variants/1777?v=1790584733410&r=2&w=412&q=75&f=webp)

### **Overlay Arrangement Style**

An arrangement view style that layers the primary view over the secondary view in z-order.

![Only Horizontal Split Arrangement Style - iOS on iPhone Duo - Portrait - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/245/variants/1614?v=1791207712827&r=2&w=412&q=75&f=webp)

### **Only Horizontal Split Arrangement Style**

Creates a horizontal split arrangement only in portrait orientation. In landscape orientation, no split is applied.

![Overlay Arrangement Edge - iOS on iPhone Duo - Landscape - Partially Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2&w=412&q=75&f=webp)

### **Overlay Arrangement Edge**

The horizontal edge a view in an overlay arrangement occupies when the arrangement transitions to a horizontal layout. In this case, the primary view overlays the secondary view at the trailing edge when the screen is partially open in landscape.

![Split Arrangement Layout Ratio - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/244/variants/1564?v=1790273511100&r=2&w=412&q=75&f=webp)

### **Split Arrangement Layout Ratio**

Sets the preferred size ratio for an arrangement view in a split style. Use this modifier when you want to customize the size of the view compared to its other views in the split layout.

![Overlay Arrangement ZIndex - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/252/variants/1906?v=1792480289764&r=2&w=412&q=75&f=webp)

### **Overlay Arrangement ZIndex**

The z-index for a view within an overlay arrangement view.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/arrangementview#webpage","@type":"WebPage","description":"A view that arranges primary and secondary content using an adaptive layout that responds to the environment","name":"ArrangementView Components","url":"https://exploreswiftui.com/library/arrangementview","breadcrumb":{"@id":"https://exploreswiftui.com/library/arrangementview#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/arrangementview"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/arrangementview#collectionpage","@type":"CollectionPage","description":"A view that arranges primary and secondary content using an adaptive layout that responds to the environment","inLanguage":"en-US","name":"ArrangementView Components","url":"https://exploreswiftui.com/library/arrangementview","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/arrangementview#/schema/item-list/1","@type":"ItemList","name":"ArrangementView Components","itemListElement":[{"@type":"ListItem","position":1,"name":"ArrangementView","url":"https://exploreswiftui.com/library/arrangementview/arrangementview"},{"@type":"ListItem","position":2,"name":"Overlay Arrangement Style","url":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-style"},{"@type":"ListItem","position":3,"name":"Only Horizontal Split Arrangement Style","url":"https://exploreswiftui.com/library/arrangementview/only-horizontal-split-arrangement-style"},{"@type":"ListItem","position":4,"name":"Overlay Arrangement Edge","url":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge"},{"@type":"ListItem","position":5,"name":"Split Arrangement Layout Ratio","url":"https://exploreswiftui.com/library/arrangementview/split-arrangement-layout-ratio"},{"@type":"ListItem","position":6,"name":"Overlay Arrangement ZIndex","url":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-zindex"}]},{"@id":"https://exploreswiftui.com/library/arrangementview#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"ArrangementView","item":"https://exploreswiftui.com/library/arrangementview","position":2}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"}]}
```