<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "tvOS: 15.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So8UIButtonC5UIKitE13ConfigurationV11CornerStyleO"
  },
  "title" : "UIButton.Configuration.CornerStyle"
}
-->

# UIButton.Configuration.CornerStyle

Settings that determine the appearance of the background corner radius.

```
enum CornerStyle
```

## Overview

Use this property to control how the button uses the [`cornerRadius`](/documentation/UIKit/UIBackgroundConfiguration-swift.struct/cornerRadius) property of the button’s [`background`](/documentation/UIKit/UIButton/Configuration-swift.struct/background).

## Topics

### Corner styles

[`UIButton.Configuration.CornerStyle.dynamic`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/dynamic)

A style that adjusts the background corner radius for dynamic type.

[`UIButton.Configuration.CornerStyle.fixed`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/fixed)

A style that uses the background corner radius without modification.

[`UIButton.Configuration.CornerStyle.capsule`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/capsule)

A style that ignores the background corner radius and uses a corner radius that generates a capsule.

[`UIButton.Configuration.CornerStyle.large`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/large)

A style that ignores the background corner radius and uses a large system-defined corner radius.

[`UIButton.Configuration.CornerStyle.medium`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/medium)

A style that ignores the background corner radius and uses a medium system-defined corner radius.

[`UIButton.Configuration.CornerStyle.small`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/small)

A style that ignores the background corner radius and uses a small system-defined corner radius.



---

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)