<!--
{
  "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/ScaleTransition",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15ScaleTransitionV"
  },
  "title" : "ScaleTransition"
}
-->

# ScaleTransition

Returns a transition that scales the view.

```
nonisolated struct ScaleTransition
```

## Topics

### Creating the transition

[`init(Double, anchor: UnitPoint)`](/documentation/SwiftUI/ScaleTransition/init(_:anchor:))

Creates a transition that scales the view by the specified amount.

[`var anchor: UnitPoint`](/documentation/SwiftUI/ScaleTransition/anchor)

The anchor point to scale the view around.

[`var scale: Double`](/documentation/SwiftUI/ScaleTransition/scale)

The amount to scale the view by.

## 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)