---
title: "Sheet Drag Indicator Visibility | Explore SwiftUI"
description: "Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples."
canonical_url: "https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility"
meta:
  author: "Explore SwiftUI"
  "og:description": "Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Sheet%2BDrag%2BIndicator%2BVisibility%2Cdescription_Explore%2Bvisually%2Bwith%2Bcode%2Bexamples%2Ccategory_Sheet%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3NoZWV0L3NoZWV0LWRyYWctaW5kaWNhdG9yLXZpc2liaWxpdHki%2Cs_MNoT72STVk4U8OMk.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Sheet Drag Indicator Visibility | Explore SwiftUI"
  "twitter:description": "Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Sheet%2BDrag%2BIndicator%2BVisibility%2Cdescription_Explore%2Bvisually%2Bwith%2Bcode%2Bexamples%2Ccategory_Sheet%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3NoZWV0L3NoZWV0LWRyYWctaW5kaWNhdG9yLXZpc2liaWxpdHki%2Cs_MNoT72STVk4U8OMk.png"
  "twitter:title": "Sheet Drag Indicator Visibility | Explore SwiftUI"
---

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

**Interactive previews**[ iPhone](https://exploreswiftui.com/iphone?element=138)

# **Sheet Drag Indicator Visibility**

Sets the visibility of the drag indicator on top of a sheet.

![Sheet Drag Indicator Visibility - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/138/variants/428?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 16.0+ iPadOS 16.0+ macOS 13.0+ watchOS 9.0+ tvOS 16.0+ visionOS 1.0+

### **Tags**

### **SwiftUI Code**

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

```
@State var showSheet = true

var body: some View {
    Text("Foo")
        .sheet(isPresented: $showSheet) {
            sheetContent
                .presentationDragIndicator(.visible)
        }
}
```

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

Created: January 31, 2026Updated: May 28, 2026

![Connect Wizard](https://exploreswiftui.com/_ipx/f_webp&q_80&s_48x48/images/connect-wizard-icon.png)

**Connect Wizard**

**Unlock insights App Store Connect doesn’t show you.**

[** Get Started **](https://apps.apple.com/app/apple-store/id6747314580?pt=121213751&ct=Explore%20SwiftUI%20Banner&mt=8)

```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/sheet/sheet-drag-indicator-visibility#webpage","@type":"WebPage","dateModified":"2026-05-28T14:08:30.867Z","datePublished":"2026-01-31T15:06:24.468Z","description":"Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples.","name":"Sheet Drag Indicator Visibility","url":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility","breadcrumb":{"@id":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility"]}],"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/sheet/sheet-drag-indicator-visibility#article","dateModified":"2026-05-28T14:08:30.867Z","datePublished":"2026-01-31T15:06:24.468Z","description":"Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples.","headline":"Sheet Drag Indicator Visibility","inLanguage":"en-US","name":"Sheet Drag Indicator Visibility","thumbnailUrl":"https://exploreswiftui.com/api/images/138/variants/428?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@type":"WebSite","name":"Explore SwiftUI","url":"https://exploreswiftui.com"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/swiftui/view/presentationdragindicator(_:)","codeSampleType":"full example","description":"Sets the visibility of the drag indicator on top of a sheet. Learn how to use Sheet Drag Indicator Visibility in SwiftUI with visual code examples.","name":"Sheet Drag Indicator Visibility SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@State var showSheet = true\n\nvar body: some View {\n    Text(\"Foo\")\n        .sheet(isPresented: $showSheet) {\n            sheetContent\n                .presentationDragIndicator(.visible)\n        }\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"Sheet"},{"@type":"Thing","name":"Sheet Drag Indicator Visibility"}]},{"@id":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"Sheet","item":"https://exploreswiftui.com/library/sheet","position":2},{"@type":"ListItem","name":"Sheet Drag Indicator Visibility","item":"https://exploreswiftui.com/library/sheet/sheet-drag-indicator-visibility","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/138/variants/428?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/138/variants/428?v=1790073478842&r=2"}]}
```