<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ContentTransition/interpolate",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ContentTransitionV11interpolateACvpZ"
  },
  "title" : "interpolate"
}
-->

# interpolate

A content transition that indicates the views attempt to interpolate
their contents during transitions, where appropriate.

```
static let interpolate: ContentTransition
```

## Discussion

Text views can interpolate transitions when the text views have
identical strings. Matching glyph pairs can animate changes to their
color, position, size, and any variable properties. Interpolation can
apply within a [`Font.Design`](/documentation/SwiftUI/Font/Design) case, but not between cases, or between
entirely different fonts. For example, you can interpolate a change
between [`thin`](/documentation/SwiftUI/Font/Weight/thin) and [`black`](/documentation/SwiftUI/Font/Weight/black) variations of a
font, since these are both cases of [`Font.Weight`](/documentation/SwiftUI/Font/Weight). However, you can’t
interpolate between the default design of a font and its Italic version,
because these are different fonts. Any changes that can’t show an
interpolated animation use an opacity animation instead.

Symbol images created with the [`init(systemName:)`](/documentation/SwiftUI/Image/init(systemName:)) initializer
work the same way as text: changes within the same symbol attempt to
interpolate the symbol’s paths. When interpolation is unavailable, the
system uses an opacity transition instead.

---

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)