---
title: "Toolbar Vertical Edge | Explore SwiftUI"
description: "This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement"
canonical_url: "https://exploreswiftui.com/library/view/toolbar-vertical-edge"
meta:
  author: "Explore SwiftUI"
  "og:description": "This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Toolbar%2BVertical%2BEdge%2Cdescription_~VGhpcyB2YWx1ZSByZWZsZWN0cyB0aGUgc3lzdGVt4oCZcyBwcmVmZXJyZWQgZWRnZSBmb3IgdGhlIHZlcnRpY2FsIGJhciBpbiB0aGUgY3VycmVudCBjb250ZXh0LCByZWdhcmRsZXNzIG9mIHdoZXRoZXIgYSB2ZXJ0aWNhbCBiYXIgaXMgY3VycmVudGx5IHZpc2libGUuIFVzZSBpdCB0byBwb3NpdGlvbiBjdXN0b20gYmFycyBvciBvdGhlciBVSSByZWxhdGl2ZSB0byB0aGUgc3lzdGVt4oCZcyBiYXIgcGxhY2VtZW50Lg%2Ccategory_View%2Cimage_~L2FwaS9pbWFnZXMvMjU0L3ZhcmlhbnRzLzE4NjM~dj0xNzkwNTg5ODM2ODMzJnI9MiZ3PTEyODAmcT04NSZmPWpwZWc%2CimageMode_crop%2CimagePosition_center%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgdG9wOiA3NXB4OyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDMycHg7IGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDMycHg7%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIl19%2Cp_Ii9saWJyYXJ5L3ZpZXcvdG9vbGJhci12ZXJ0aWNhbC1lZGdlIg%2Cs_-uUe3ZrNYNzP5xe8.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Toolbar Vertical Edge | Explore SwiftUI"
  "twitter:description": "This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Toolbar%2BVertical%2BEdge%2Cdescription_~VGhpcyB2YWx1ZSByZWZsZWN0cyB0aGUgc3lzdGVt4oCZcyBwcmVmZXJyZWQgZWRnZSBmb3IgdGhlIHZlcnRpY2FsIGJhciBpbiB0aGUgY3VycmVudCBjb250ZXh0LCByZWdhcmRsZXNzIG9mIHdoZXRoZXIgYSB2ZXJ0aWNhbCBiYXIgaXMgY3VycmVudGx5IHZpc2libGUuIFVzZSBpdCB0byBwb3NpdGlvbiBjdXN0b20gYmFycyBvciBvdGhlciBVSSByZWxhdGl2ZSB0byB0aGUgc3lzdGVt4oCZcyBiYXIgcGxhY2VtZW50Lg%2Ccategory_View%2Cimage_~L2FwaS9pbWFnZXMvMjU0L3ZhcmlhbnRzLzE4NjM~dj0xNzkwNTg5ODM2ODMzJnI9MiZ3PTEyODAmcT04NSZmPWpwZWc%2CimageMode_crop%2CimagePosition_center%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgdG9wOiA3NXB4OyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDMycHg7IGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDMycHg7%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIl19%2Cp_Ii9saWJyYXJ5L3ZpZXcvdG9vbGJhci12ZXJ0aWNhbC1lZGdlIg%2Cs_-uUe3ZrNYNzP5xe8.png"
  "twitter:title": "Toolbar Vertical 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=254) [ iPhone](https://exploreswiftui.com/iphone?element=254)

# **Toolbar Vertical Edge**

This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement.

![Toolbar Vertical Edge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/254/variants/1863?v=1790589836833&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/environmentvalues/toolbarverticaledge)

```
@Environment(\.toolbarVerticalEdge) var toolbarVerticalEdge

var body: some View {
    Text(String(describing: toolbarVerticalEdge))
}
```

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

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

### **More View Components **

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

![VisionOS background materials - visionOS - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/260/variants/2143?v=1793707679045&r=2&w=412&q=75&f=webp)

### **VisionOS background materials**

All background materials on visionOS

![Container Content Margins - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/257/variants/1987?v=1792070676534&r=2&w=412&q=75&f=webp)

### **Container Content Margins**

Adds the margins of the container the view is in.

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

### **Hinge State**

A type encapsulating the state of a single hinge.

![Disabled Toolbar Vertical Behavior - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/246/variants/1636?v=1790277107518&r=2&w=412&q=75&f=webp)

### **Disabled Toolbar Vertical Behavior**

Disables the vertical bar.

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

### **Music Picker**

Presents a music picker to select items from the Apple Music catalog and the user’s music library.

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

### **App Store Overlay**

Presents a StoreKit overlay when a given condition is true.

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

### **Manage Subscriptions Sheet**

Opens the manage subscriptions sheet.

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

### **Swipe Container**

Only allows a single active swipe within a container.

### **Explore Other Components **

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

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

### **PalettePickerStyle**

A picker style that presents the options as a row of compact elements. When used outside of menus, this style is rendered as a segmented picker. If that is the intended usage, consider segmented instead.

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

### **Content Unavailable**

A placeholder for empty results with optional button

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

### **InsetListStyle**

The list style that describes the behavior and appearance of an inset list.

![CarouselListStyle - watchOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/102/variants/328?v=1790073478842&r=2&w=412&q=75&f=webp)

### **CarouselListStyle**

The carousel list style.

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

### **Title Toolbar Item Placement**

Places content in the title area

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

### **AccessoryCircularGaugeStyle**

A gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge’s current value

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

### **ButtonToggleStyle**

A toggle style that displays as a button with its label as the title.

![List Background Prominence - macOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/122/variants/347?v=1790073478842&r=2&w=412&q=75&f=webp)

### **List Background Prominence**

The prominence of the background underneath views associated with this environment.

```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/view/toolbar-vertical-edge#webpage","@type":"WebPage","dateModified":"2026-09-28T10:03:56.855Z","datePublished":"2026-09-28T09:55:29.351Z","description":"This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement","name":"Toolbar Vertical Edge","url":"https://exploreswiftui.com/library/view/toolbar-vertical-edge","breadcrumb":{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/view/toolbar-vertical-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/view/toolbar-vertical-edge#article","citation":"https://developer.apple.com/documentation/swiftui/environmentvalues/toolbarverticaledge","dateModified":"2026-09-28T10:03:56.855Z","datePublished":"2026-09-28T09:55:29.351Z","description":"This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement","headline":"Toolbar Vertical Edge","inLanguage":"en-US","name":"Toolbar Vertical Edge","thumbnailUrl":"https://exploreswiftui.com/api/images/254/variants/1863?v=1790589836833&r=2","url":"https://exploreswiftui.com/library/view/toolbar-vertical-edge","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement","name":"Toolbar Vertical Edge SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@Environment(\\.toolbarVerticalEdge) var toolbarVerticalEdge\n\nvar body: some View {\n    Text(String(describing: toolbarVerticalEdge))\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"View"},{"@type":"Thing","name":"Toolbar Vertical Edge"}]},{"@id":"https://exploreswiftui.com/library/view/toolbar-vertical-edge#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"View","item":"https://exploreswiftui.com/library/view","position":2},{"@type":"ListItem","name":"Toolbar Vertical Edge","item":"https://exploreswiftui.com/library/view/toolbar-vertical-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/254/variants/1863?v=1790589836833&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/254/variants/1863?v=1790589836833&r=2"}]}
```