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

# KeyframeTrackContent

A group of keyframes that define an interpolation curve of an animatable
value.

```
protocol KeyframeTrackContent<Value>
```

## Topics

### Creating a keyframe

[`var body: Self.Body`](/documentation/SwiftUI/KeyframeTrackContent/body-swift.property)

The composition of content that comprise the keyframe track.

[`associatedtype Body : KeyframeTrackContent`](/documentation/SwiftUI/KeyframeTrackContent/Body-swift.associatedtype)

[`associatedtype Value : Animatable = Self.Body.Value`](/documentation/SwiftUI/KeyframeTrackContent/Value)

## Relationships

### Conforming Types

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

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

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

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

[`Conditional`](/documentation/SwiftUI/KeyframeTrackContentBuilder/Conditional)

---

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)