---
title: easeIn
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/animation/easein
---

# easeIn

An animation that starts slowly and then increases speed towards the end of the movement.

## Declaration

```swift
static var easeIn: Animation { get }
```

## Return Value

Return Value An ease-in animation with the default duration.

## Discussion

Discussion An easing animation provides motion with a natural feel by varying the acceleration and deceleration of the animation, which matches how things tend to move in reality. With an ease in animation, the motion starts slowly and increases its speed towards the end. The easeIn animation has a default duration of 0.35 seconds. To specify a different duration, use easeIn(duration:). The following code shows an example of animating the size changes of a Circle using the ease in animation. struct ContentView: View {     @State private var scale = 0.5

var body: some View {         VStack {             Circle()                 .scale(scale)                 .animation(.easeIn, value: scale)             HStack {                 Button("+") { scale += 0.1 }                 Button("-") { scale -= 0.1 }             }         }     } }

## See Also

### Getting eased animations

- [easeIn(duration:)](swiftui/animation/easein(duration:).md)
- [easeOut](swiftui/animation/easeout.md)
- [easeOut(duration:)](swiftui/animation/easeout(duration:).md)
- [easeInOut](swiftui/animation/easeinout.md)
- [easeInOut(duration:)](swiftui/animation/easeinout(duration:).md)
