---
title: ButtonRepeatBehavior
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/buttonrepeatbehavior
---

# ButtonRepeatBehavior

The options for controlling the repeatability of button actions.

## Declaration

```swift
struct ButtonRepeatBehavior
```

## Overview

Overview Use values of this type with the buttonRepeatBehavior(_:) modifier.

## Topics

### Getting repeat behaviors

- [automatic](swiftui/buttonrepeatbehavior/automatic.md)
- [enabled](swiftui/buttonrepeatbehavior/enabled.md)
- [disabled](swiftui/buttonrepeatbehavior/disabled.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating buttons

- [Button](swiftui/button.md)
- [buttonStyle(_:)](swiftui/view/buttonstyle(_:).md)
- [buttonBorderShape(_:)](swiftui/view/buttonbordershape(_:).md)
- [ButtonBorderShape](swiftui/buttonbordershape.md)
- [buttonRepeatBehavior(_:)](swiftui/view/buttonrepeatbehavior(_:).md)
- [buttonRepeatBehavior](swiftui/environmentvalues/buttonrepeatbehavior.md)
- [buttonSizing(_:)](swiftui/view/buttonsizing(_:).md)
- [ButtonSizing](swiftui/buttonsizing.md)
- [ButtonRole](swiftui/buttonrole.md)
