Switch

A persistent on/off setting with switch semantics and a minimum 24px hit target. Use Toggle for an icon toggle button.

Notifications off
<Switch label="Notifications" checked={enabled} onCheckedChange={setEnabled} />

label supplies the accessible name. checked is controlled. Disabled switches remain focusable and announce aria-disabled, but cannot toggle. Forced colors and reduced motion are supported.