Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
Apple docs
FormsApple

Radio card

Choose one option from selectable cards.

Public APILumenRadioCardGroupApple / SwiftUISwift product: LumenUI

Apple availability

Supported native targets

Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.

iPhone · iOS 16+iPad · iPadOS 16+Mac · macOS 13+Apple Vision · visionOS 1+

Native example

Use Radio card

Use it when options need descriptions or icons. Use a radio group for short labels.

Radio card rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulatorView dark appearance
swift
import LumenUI
import SwiftUI

struct RadioCardExample: View {
    @State private var plan = "team"

    var body: some View {
        LumenRadioCardGroup("Workspace plan", selection: $plan, options: [
            .init(id: "personal", label: "Personal", description: "A focused space for one creator.", icon: .user),
            .init(id: "team", label: "Team", description: "Shared work and review for your team.", icon: .users),
            .init(id: "enterprise", label: "Enterprise", description: "Contact the workspace owner.", isDisabled: true)
        ])
    }
}
Apple
A workspace plan picker with one selected card and one disabled card.

Reference

Public API

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

APIValues or typeDefaultDescription
options / selection / variantchoices / selected value / card stylerequired / required / outlineUse it when options need descriptions or icons.

Native behavior

Design and accessibility

When to use it

Use it when options need descriptions or icons. Use a radio group for short labels.

Accessibility

Named radio group; each card exposes selected state.

Shared component

Available on other platforms

React NativeAndroid / Compose Web
Apple docsSwiftUI package