SwitchMarkdownToggle a single boolean settingSwitch is intended for settings that take effect immediately when enabled or disabled. PreviewCodeLoading preview… The host owns persistence. The component provides controlled, uncontrolled, form, and keyboard behavior.