SwitchToggle a setting on or off.ExamplePreviewCodeEnable notifications12345678910InstallControlledPreviewCodeControlled switch (Status: OFF)12345678910111213API ReferenceComponentPropsDefaultDescriptionSwitchchecked?, defaultChecked?, onCheckedChange?, disabled?, id?, className?—Toggle switch component for binary on/off statesAgents & Copilots