---
title: NSButton.ButtonType.radio
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsbutton/buttontype/radio
---

# NSButton.ButtonType.radio

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

## Declaration

```swift
case radio
```

## Discussion

Discussion A radio button is similar to a 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.

## See Also

### Configuring Button Behavior

- [NSButton.ButtonType.momentaryPushIn](appkit/nsbutton/buttontype/momentarypushin.md)
- [NSButton.ButtonType.momentaryLight](appkit/nsbutton/buttontype/momentarylight.md)
- [NSButton.ButtonType.momentaryChange](appkit/nsbutton/buttontype/momentarychange.md)
- [NSButton.ButtonType.pushOnPushOff](appkit/nsbutton/buttontype/pushonpushoff.md)
- [NSButton.ButtonType.onOff](appkit/nsbutton/buttontype/onoff.md)
- [NSButton.ButtonType.toggle](appkit/nsbutton/buttontype/toggle.md)
- [NSButton.ButtonType.switch](appkit/nsbutton/buttontype/switch.md)
- [NSButton.ButtonType.accelerator](appkit/nsbutton/buttontype/accelerator.md)
- [NSButton.ButtonType.multiLevelAccelerator](appkit/nsbutton/buttontype/multilevelaccelerator.md)
