ControlField
ControlField combines a label, description, and a control (Switch, Checkbox, or Radio) into a single pressable row. Tapping anywhere on the row toggles the control, giving settings lists and consent rows a consistent, accessible layout. Use the
variant/label/description shorthand for the common case, or compose ControlField.Label, ControlField.Description, ControlField.Indicator, and ControlField.Error for full control.Wrap multiple rows in
ControlField.Group for an iOS-style settings surface — a rounded, filled (or bordered) background with hairline dividers between rows, plus optional section title/footer. The group can also set a shared size for all its children.Examples
(4)Properties
(39)Playground
Basics
A controlled switch row — the whole row is a single tap target.
Checkbox with validation
A consent row using the
checkbox variant. When left unchecked the field shows an error message below the row.Custom control
Compose the row explicitly with
ControlField.Indicator to drop in a custom control — here a warning-colored checkbox.Grouped surface
Wrap rows in
ControlField.Group to get an iOS-style settings surface — a rounded, filled background with hairline dividers between rows. The group can carry an optional title and footer, and sets a shared size for its children.Platform Blocks
A comprehensive React Native design system with components that work seamlessly across iOS, Android, and Web.
Quick Links
Documentation
Resources