---
title: "init(content:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/keyframetrack/init(content:)"
---

# init(content:)

Creates an instance that animates the entire value from the root of the key path.

## Declaration

```swift
init(@KeyframeTrackContentBuilder<Root> content: () -> Content) where Root == Value
```

## See Also

### Creating a keyframe track

- [init(_:content:)](swiftui/keyframetrack/init(_:content:).md)
