ToggleSwitch

ToggleSwitch is used to immediately toggle a setting on or off.

Page navigation navigation

React examples

Default

Label

With a caption

Label
Switch caption

Custom size

A small toggle variant is available for dense layouts.

Default
Small

Status label after switch

Label

In a loading state

Display a loading indicator when waiting for an action to complete before toggling.

Label
Loading

Props

Loading data for toggle_switch...