Capítulo 32 de 43
A binary toggle control (visually a switch, not a checkbox) — API-wise a simpler sibling of Checkbox, without the tri-state/indeterminate option.
Root → Thumb (the visual indicator that slides between positions).checked/defaultChecked are plain boolean (unlike Checkbox's boolean | "indeterminate").input automatically, same as Checkbox/RadioGroup.unstable_Provider/unstable_Trigger/unstable_BubbleInput: same lower-level decoupling parts as Checkbox, for recomposing or excluding the hidden input.Switch over Checkbox when the setting is an immediate on/off toggle (e.g. a settings page); choose Checkbox for form-submission-style selections or when a third indeterminate state matters.unstable_* decoupling escape hatch as Checkbox if you need to move or exclude the hidden form input.