---
title: "Overlay Arrangement Edge | Explore SwiftUI"
description: "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"
canonical_url: "https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge"
meta:
  author: "Explore SwiftUI"
  "og:description": "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"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Overlay%2BArrangement%2BEdge%2Cdescription_~VGhlIGhvcml6b250YWwgZWRnZSBhIHZpZXcgaW4gYW4gb3ZlcmxheSBhcnJhbmdlbWVudCBvY2N1cGllcyB3aGVuIHRoZSBhcnJhbmdlbWVudCB0cmFuc2l0aW9ucyB0byBhIGhvcml6b250YWwgbGF5b3V0LiBJbiB0aGlzIGNhc2UsIHRoZSBwcmltYXJ5IHZpZXcgb3ZlcmxheXMgdGhlIHNlY29uZGFyeSB2aWV3IGF0IHRoZSB0cmFpbGluZyBlZGdlIHdoZW4gdGhlIHNjcmVlbiBpcyBwYXJ0aWFsbHkgb3BlbiBpbiBsYW5kc2NhcGUu%2Ccategory_ArrangementView%2Cimage_~L2FwaS9pbWFnZXMvMjUxL3ZhcmlhbnRzLzE3ODc~dj0xNzkwNTg2MDg0Njk0JnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMHB4IDBweCAwcHggMHB4OyBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDAsMCwwLDAuMDYpOyBib3JkZXItcmlnaHQ6IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIl19%2Cp_Ii9saWJyYXJ5L2FycmFuZ2VtZW50dmlldy9vdmVybGF5LWFycmFuZ2VtZW50LWVkZ2Ui%2Cs_h6L41FfZc7WlhJbt.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Overlay Arrangement Edge | Explore SwiftUI"
  "twitter:description": "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"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Overlay%2BArrangement%2BEdge%2Cdescription_~VGhlIGhvcml6b250YWwgZWRnZSBhIHZpZXcgaW4gYW4gb3ZlcmxheSBhcnJhbmdlbWVudCBvY2N1cGllcyB3aGVuIHRoZSBhcnJhbmdlbWVudCB0cmFuc2l0aW9ucyB0byBhIGhvcml6b250YWwgbGF5b3V0LiBJbiB0aGlzIGNhc2UsIHRoZSBwcmltYXJ5IHZpZXcgb3ZlcmxheXMgdGhlIHNlY29uZGFyeSB2aWV3IGF0IHRoZSB0cmFpbGluZyBlZGdlIHdoZW4gdGhlIHNjcmVlbiBpcyBwYXJ0aWFsbHkgb3BlbiBpbiBsYW5kc2NhcGUu%2Ccategory_ArrangementView%2Cimage_~L2FwaS9pbWFnZXMvMjUxL3ZhcmlhbnRzLzE3ODc~dj0xNzkwNTg2MDg0Njk0JnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMHB4IDBweCAwcHggMHB4OyBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDAsMCwwLDAuMDYpOyBib3JkZXItcmlnaHQ6IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIl19%2Cp_Ii9saWJyYXJ5L2FycmFuZ2VtZW50dmlldy9vdmVybGF5LWFycmFuZ2VtZW50LWVkZ2Ui%2Cs_h6L41FfZc7WlhJbt.png"
  "twitter:title": "Overlay Arrangement Edge | Explore SwiftUI"
---

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

**Interactive previews**[ iPhone Duo](https://exploreswiftui.com/duo?element=251)

# **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.

![Overlay Arrangement Edge - Preview Not Available](https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 27.1+ iPadOS 27.1+

### **Tags**

### **SwiftUI Code**

[ Docs](<https://developer.apple.com/documentation/swiftui/view/overlayarrangementedge(_:)>)

```
ArrangementView {
    Color.blue
        .frame(width: 210, height: 210)
        .overlayArrangementEdge(.trailing)
} secondary: {
    Color.orange
}
.arrangementViewStyle(.overlay)
```

### **Found an issue or have a suggestion?**

Created: September 28, 2026Updated: September 28, 2026

### **More ArrangementView Components **

[**View all **](https://exploreswiftui.com/library/arrangementview)

![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.

![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.

![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.

![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.

### **Explore Other Components **

[**Browse all **](https://exploreswiftui.com/)

![List Section Separator Tint - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/118/variants/287?v=1790073478842&r=2&w=412&q=75&f=webp)

### **List Section Separator Tint**

Sets the tint color associated with a section.

![Search Tab Role - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/163/variants/663?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Search Tab Role**

On Liquid Glass, this tab is placed in its own group. In left-to-right (LTR) layouts, it will always appear on the right side of the TabView.

![Button Sizing - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/190/variants/3?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Button Sizing**

The preferred sizing behavior of buttons in the view hierarchy.

![EditButton - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/36/variants/239?v=1790073478842&r=2&w=412&q=75&f=webp)

### **EditButton**

A button that toggles the edit mode environment value

![Prefer Vertical Toolbar Items - iOS on iPhone Duo - Landscape - Closed - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/248/variants/1749?v=1790419867105&r=2&w=412&q=75&f=webp)

### **Prefer Vertical Toolbar Items**

A compression behavior that prioritizes keeping toolbar items visible over other elements, such as tabs. By default, tabs are prioritized.

![Button Tint - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/34/variants/408?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Button Tint**

Sets the buttons tint color

![Hour Minute Seconds DatePicker - watchOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/61/variants/181?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Hour Minute Seconds DatePicker**

A DatePicker for just hour, minute, and second.

![RenameButton - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/37/variants/213?v=1790073478842&r=2&w=412&q=75&f=webp)

### **RenameButton**

A button that triggers a standard rename action

```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/overlay-arrangement-edge#webpage","@type":"WebPage","dateModified":"2026-09-28T09:01:24.736Z","datePublished":"2026-09-28T08:51:29.787Z","description":"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","name":"Overlay Arrangement Edge","url":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge","breadcrumb":{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge"]}],"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/overlay-arrangement-edge#article","citation":"https://developer.apple.com/documentation/swiftui/view/overlayarrangementedge(_:)","dateModified":"2026-09-28T09:01:24.736Z","datePublished":"2026-09-28T08:51:29.787Z","description":"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","headline":"Overlay Arrangement Edge","inLanguage":"en-US","name":"Overlay Arrangement Edge","thumbnailUrl":"https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2","url":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"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","name":"Overlay Arrangement Edge SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"ArrangementView {\n    Color.blue\n        .frame(width: 210, height: 210)\n        .overlayArrangementEdge(.trailing)\n} secondary: {\n    Color.orange\n}\n.arrangementViewStyle(.overlay)","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"ArrangementView"},{"@type":"Thing","name":"Overlay Arrangement Edge"}]},{"@id":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge#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},{"@type":"ListItem","name":"Overlay Arrangement Edge","item":"https://exploreswiftui.com/library/arrangementview/overlay-arrangement-edge","position":3}]},{"@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"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/251/variants/1787?v=1790586084694&r=2"}]}
```