When to use it
Use to align repeated settings rows. The trailing content should be a compact native control rather than unrelated actions.
Align a setting title and explanation with an optional graphic and trailing native control.
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 to align repeated settings rows. The trailing content should be a compact native control rather than unrelated actions.
LumenSettingsRow(
"Automatic updates",
description: "Download stable updates automatically.",
systemName: "arrow.triangle.2.circlepath"
) {
LumenToggle("Automatic updates", isOn: $automaticUpdates)
.labelsHidden()
}Reference
The primary shared and platform-specific options exposed by LumenSettingsRow.
| API | Values or type | Default | Description |
|---|---|---|---|
| title | LocalizedStringKey | Required | Names the setting. |
| description | LocalizedStringKey? | nil | Adds supporting explanation. |
| systemName | SF Symbol name? | nil | Adds an optional leading graphic. |
| control | @ViewBuilder () -> Control | Required | Provides the trailing native control. |
Native behavior
Use to align repeated settings rows. The trailing content should be a compact native control rather than unrelated actions.
The explanatory copy and trailing control remain contained while the control preserves independent focus and semantics.
Shared component