<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButtonConfigurationSize",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIButtonConfigurationSize"
  },
  "title" : "UIButtonConfigurationSize"
}
-->

# UIButtonConfigurationSize

A predefined size for button elements.

```
enum UIButtonConfigurationSize : NSInteger;
```

## Overview

You can use this enumeration to choose a predefined size for elements in a button. The value you choose for button size can be effectively overridden by explicitly assigning values for configuration elements like padding, corner style, or title and subtitle font sizes.

## Topics

### Button sizes

[`UIButtonConfigurationSizeLarge`](/documentation/UIKit/UIButtonConfigurationSize/UIButtonConfigurationSizeLarge)

Displays button elements at a large size.

[`UIButtonConfigurationSizeMedium`](/documentation/UIKit/UIButtonConfigurationSize/UIButtonConfigurationSizeMedium)

Displays button elements at a standard size.

[`UIButtonConfigurationSizeSmall`](/documentation/UIKit/UIButtonConfigurationSize/UIButtonConfigurationSizeSmall)

Displays button elements at a small size.

[`UIButtonConfigurationSizeMini`](/documentation/UIKit/UIButtonConfigurationSize/UIButtonConfigurationSizeMini)

Displays button elements at the smallest size.



---

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)