When to use
Use for a binary setting that takes effect immediately.
Find components, patterns, tokens, and docs
Component
Immediate on/off control for a setting that takes effect now.
Preview
<Switch
variant="primary"
size="medium"
>
Compact mode
</Switch>Appearance is not enough. This is the contract for when the control earns a place in the product.
Use for a binary setting that takes effect immediately.
Use a checkbox when the choice is submitted later with a form.
Makes system state visible and reversible without a confirm step.
Expose role switch and checked state. The label must describe the setting, not On/Off.