Getting started
Components
Checkbox
Furthermore, switches cannot be grouped – each Switch triggers an independent state update. If you want multiple mutually exclusive choices, the RadioButtonGroup is the better option. To offer multiple choices within the same group or context which are not mutually exclusive, use Checkbox instead.
Switch
RadioButtonGroup
The Switch component accepts the following props:
value
transparent
invalid
Component documentation | Storybook | Source code