Toggle Button
toggle-button.Rmd
The toggle_button()
component is an enhanced button()
that can be toggled between pressed and normal states. Users can use it as a switch to turn a setting on or off. It can also be used to represent an independent choice similar to a check box.
See the official documention for toggle button, for all the correct props.