Skip to main content

mo.ui.radio

Create a radio button group for selecting one option.

Signature

Parameters

Sequence[str] | dict[str, Any]
required
List of options or dictionary mapping labels to values
str
Initially selected value
bool
default:"False"
Display options horizontally instead of vertically
str
default:"''"
Markdown label for the radio group
bool
default:"False"
Whether the radio buttons are disabled

Examples