<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PresentationPlacement",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI21PresentationPlacementV"
  },
  "title" : "PresentationPlacement"
}
-->

# PresentationPlacement

The placement of a presentation within the presenting view.

```
struct PresentationPlacement
```

## Overview

Only sheet presentations respect this placement.

Use values of this type with the
[`presentationPlacement(_:)`](/documentation/SwiftUI/View/presentationPlacement(_:)) modifier.

## Topics

### Specifying sheet placement

[`static let automatic: PresentationPlacement`](/documentation/SwiftUI/PresentationPlacement/automatic)

The system determines the placement of the presentation.

[`static let center: PresentationPlacement`](/documentation/SwiftUI/PresentationPlacement/center)

Centers the presentation within the presenting view.

[`static let leading: PresentationPlacement`](/documentation/SwiftUI/PresentationPlacement/leading)

Places the presentation on the leading edge of the presenting view.

[`static let trailing: PresentationPlacement`](/documentation/SwiftUI/PresentationPlacement/trailing)

Places the presentation on the trailing edge of the presenting view.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)