Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
FormsApple

Tree select

Select controlled native tree select values with stable identities.

Public APILumenTreeSelectApple / 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 Tree select

All hierarchy levels are selectable when enabled. The host retains unknown values; read-only permits browsing. Use the existing validated Tree graph and localize option paths.

Tree select rendered in the iPhone simulator Lumen playground
Captured exampleiPhone simulator
swift
LumenTreeSelect("Destination", nodes: nodes, value: $value)

Reference

Public API

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

APIValues or typeDefaultDescription
valueNullable stable IDRequired controlled valueRetains host state and emits intentional user changes.

Native behavior

Design and accessibility

When to use it

All hierarchy levels are selectable when enabled. The host retains unknown values; read-only permits browsing. Use the existing validated Tree graph and localize option paths.

Accessibility

Localized selected/checked and disabled controls with guarded native actions and safe status presentation.

Shared component

Available on other platforms

React NativeAndroid / Compose
Apple docsSwiftUI package