<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSButton/ButtonType/radio",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSButtonType@NSButtonTypeRadio"
  },
  "title" : "NSButton.ButtonType.radio"
}
-->

# NSButton.ButtonType.radio

A button that displays a single selected value from group of possible choices.

```
case radio
```

## Discussion

A radio button is similar to a [`NSButton.ButtonType.switch`](/documentation/AppKit/NSButton/ButtonType/switch) button, but it constrains the selection to a single button within a group.

Radio buttons are ideal for choosing one value from a small number of options.

This option corresponds to the Radio type in Interface Builder’s Attributes Inspector.

---

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)