Skip to content

SettingsRow

Settings line: label (+ description), then the control (children).

Group: Inputs · Kind: macro · in the lite catalog

example · a settings group
Notifications
Email notifications
DigestHow often the summary email goes out.
Ring volume
60%
stackBelow · xl (stacked)
DigestHow often the summary email goes out.

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-settings-row on Web
exponential-ui-settings-row on iOS
exponential-ui-settings-row on Android
exponential-ui-settings-row on Desktop
stackBelow · sm
Email notificationsOne email a day at 8:00.
stackBelow · md
Email notificationsOne email a day at 8:00.
stackBelow · lg
Email notificationsOne email a day at 8:00.
stackBelow · xl
Email notificationsOne email a day at 8:00.
Prop Type Required Bindable Description
label string yes yes Setting’s name.
description string – yes Muted line under the label.
stackBelow never | sm | md | lg | xl – – Below this, control under the label. Default "sm".

None.

None.

many

No basic catalog component maps here.

Box · Text

Role: group

group named by the label, described by the description; the control inside needs no label of its own

Not focusable; no keys.

Recipe parts: SettingsRow/root SettingsRow/text SettingsRow/label SettingsRow/description SettingsRow/control

Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover :warning :info

Themes · Write a theme

Text · Form · FieldGroup · FormActions · Input · Textarea · NumberField · Checkbox