<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DepthAlignment",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14DepthAlignmentV"
  },
  "title" : "DepthAlignment"
}
-->

# DepthAlignment

An alignment position along the depth axis.

```
@frozen struct DepthAlignment
```

## Topics

### Getting guides

[`back`](/documentation/SwiftUI/DepthAlignment/back)

A guide marking the bottom edge of the view.

[`center`](/documentation/SwiftUI/DepthAlignment/center)

A guide marking the vertical center of the view.

[`front`](/documentation/SwiftUI/DepthAlignment/front)

A guide marking the top edge of the view.

## Relationships

### Conforms To

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

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

[`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)