<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButton/ButtonType-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIButtonType"
  },
  "title" : "UIButton.ButtonType"
}
-->

# UIButton.ButtonType

Specifies the style of a button.

```
enum ButtonType
```

## Topics

### Constants

[`UIButtonTypeCustom`](/documentation/UIKit/UIButton/ButtonType-swift.enum/custom)

No button style.

[`UIButtonTypeSystem`](/documentation/UIKit/UIButton/ButtonType-swift.enum/system)

A system style button, such as those shown in navigation bars and toolbars.

[`UIButtonTypeDetailDisclosure`](/documentation/UIKit/UIButton/ButtonType-swift.enum/detailDisclosure)

A detail disclosure button.

[`UIButtonTypeInfoLight`](/documentation/UIKit/UIButton/ButtonType-swift.enum/infoLight)

An information button that has a light background.

[`UIButtonTypeInfoDark`](/documentation/UIKit/UIButton/ButtonType-swift.enum/infoDark)

An information button that has a dark background.

[`UIButtonTypeContactAdd`](/documentation/UIKit/UIButton/ButtonType-swift.enum/contactAdd)

A contact add button.

[`UIButtonTypePlain`](/documentation/UIKit/UIButton/ButtonType-swift.enum/plain)

A standard system button without a blurred background view.

[`UIButtonTypeClose`](/documentation/UIKit/UIButton/ButtonType-swift.enum/close)

A close button to dismiss panels and views.

[`UIButtonTypeRoundedRect`](/documentation/UIKit/UIButton/ButtonType-swift.enum/roundedRect)

A rounded-rectangle style button.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)