---
title: "bouncy(duration:extraBounce:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/spring/bouncy(duration:extrabounce:)"
---

# bouncy(duration:extraBounce:)

A spring with a predefined duration and higher amount of bounce that can be tuned.

## Declaration

```swift
static func bouncy(duration: TimeInterval = 0.5, extraBounce: Double = 0.0) -> Spring
```

## Parameters

- `duration`: The perceptual duration, which defines the pace of the spring. This is approximately equal to the settling duration, but for very bouncy springs, will be the duration of the period of oscillation for the spring.
- `extraBounce`: How much additional bounce should be added to the base bounce of 0.3.

## See Also

### Getting built-in springs

- [bouncy](swiftui/spring/bouncy.md)
- [smooth](swiftui/spring/smooth.md)
- [smooth(duration:extraBounce:)](swiftui/spring/smooth(duration:extrabounce:).md)
- [snappy](swiftui/spring/snappy.md)
- [snappy(duration:extraBounce:)](swiftui/spring/snappy(duration:extrabounce:).md)
