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.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
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(
"Density",
selection: $density,
options: densityOptions
)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 | [LumenSelectionOption<Value>] | Required | Provides labeled values with optional descriptions and disabled state. |
| selection | Binding<Value> | Required | Stores the selected value. |
| onValueChange | Binding setter | 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