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

# PushTransition

A transition that when added to a view will animate the view’s insertion by
moving it in from the specified edge while fading it in, and animate its
removal by moving it out towards the opposite edge and fading it out.

```
nonisolated struct PushTransition
```

## Topics

### Creating the transition

[`init(edge: Edge)`](/documentation/SwiftUI/PushTransition/init(edge:))

Creates a transition that animates a view by moving and fading it.

[`var edge: Edge`](/documentation/SwiftUI/PushTransition/edge)

The edge from which the view will be animated in.

## Relationships

### Conforms To

[`Transition`](/documentation/SwiftUI/Transition)

---

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)