Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
FormsAndroid

Radio group

Choose one value from a visible, labeled group of native radio options.

Public APILumenRadioGroupAndroid / Compose

Native example

Use Radio group

Use when every option should remain visible and supporting descriptions help the decision. Use Segmented control for a small compact peer set.

Radio group rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenRadioGroup(
    label = "Density",
    options = densityOptions,
    value = density,
    onValueChange = ::setDensity
)

Reference

Public API

The primary shared and platform-specific options exposed by LumenRadioGroup.

APIValues or typeDefaultDescription
labelStringRequiredNames the single-selection group.
optionsList<LumenSelectionOption>RequiredProvides labeled values with optional descriptions and disabled state.
valueStringRequiredStores the selected value.
onValueChange(String) -> UnitRequiredUpdates the selected value.

Native behavior

Design and accessibility

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.

Accessibility

Options expose native radio semantics inside a named single-selection group, including selected and disabled states.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module