Switch
Switches toggle the state of a single setting on or off.
Basic
With Labels
Colors
Sizes
Label Placement
Usage
import Switch from '@mui/material/Switch';
import FormControlLabel from '@mui/material/FormControlLabel';
<Switch defaultChecked />
<FormControlLabel control={<Switch />} label="Notifications" />