This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


represents a radio button whose setting x is set to val when the button is clicked.
is displayed as when x is val, and as otherwise.
RadioButton[Dynamic[x], val]
takes the setting to be the dynamically updated current value of x, with the value of x being reset if the button is clicked.
  • Radio buttons representing several mutually exclusive choices can be created by having several RadioButton[Dynamic[x], vali] with the same x but different . »
Dynamically change the value of x:
Click for copyable input
Dynamically change the value of x:
Click for copyable input
Control the appearance:
Dynamically change the appearance:
Values update as the cursor is moved over the clickable area:
Set the background color:
Dynamically change the background color:
Align with surrounding text:
By default RadioButton is enabled:
By setting Enabled->False, the radio button is disabled, but visible in its current state:
Increase the clickable area of RadioButton:
RadioButtonBar uses RadioButton with the same variable:
RadioButton is a special case of Setter:
New in 6