ControlField
ControlField combines a label, description, and a control (Switch, Checkbox, or Radio) into a single pressable row.
Examples
(4)Properties
(38)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.Scan to open this page on your phonereact-ui-library.com/components/ControlField
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources