2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Form Controls

RadioButton

Updated: July 27, 2026
View on GitHub
The RadioButton component provides a selectable control for mutually exclusive options in a group. It's built on top of the InteractiveDetails component for consistent styling and behavior. Use the checked prop to control the radio button state externally. Disable the radio button to prevent user interaction. Disable the hover pulse animation by setting hoverable to false.
Prop
Type
Default
style
React.CSSProperties
className
string
checked
Whether this one is chosen.
boolean
name
Group name. Radios sharing one are mutually exclusive.
string
value
Form field value.
string
disabled
Block interaction.
boolean
onToggle
Called when it is picked.
() => void
hoverable
Highlight the row on hover.
booleantrue
label
ReactNode
description
ReactNode
iconButtonProps
Props forwarded to the icon button beside the label.
IconButtonProps
…and every React.InputHTMLAttributes propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club