Toggle Switch

React Bootstrap 5 Toggle Switch component

A switch is a simple component used for activating one of two predefined options. Commonly used as an on/off button.


Basic example

A switch uses the MDBSwitch component to render a toggle switch. Switches also support the disabled prop.