When to use it
Use when every option should remain visible and supporting descriptions help the decision. Use Segmented control for a small compact peer set.
Choose one value from a visible, labeled group of native radio options.
Native example
Use when every option should remain visible and supporting descriptions help the decision. Use Segmented control for a small compact peer set.
LumenRadioGroup(
label = "Density",
options = densityOptions,
value = density,
onValueChange = ::setDensity
)Reference
The primary shared and platform-specific options exposed by LumenRadioGroup.
| API | Values or type | Default | Description |
|---|---|---|---|
| label | String | Required | Names the single-selection group. |
| options | List<LumenSelectionOption> | Required | Provides labeled values with optional descriptions and disabled state. |
| value | String | Required | Stores the selected value. |
| onValueChange | (String) -> Unit | Required | Updates the selected value. |
Native behavior
Use when every option should remain visible and supporting descriptions help the decision. Use Segmented control for a small compact peer set.
Options expose native radio semantics inside a named single-selection group, including selected and disabled states.
Shared component