Skip to content

Switch ​

Basic ​

Switches are a pleasant interface for toggling a value between two states, and offer the same semantics and keyboard navigation as native checkbox elements.

With label ​

Usually you want to pair your switch with some kind of label. This is done by wrapping a BSwitch & a BSwitchLabel in a BSwitchGroup

Custom icon ​

To render a different icon for the enabled state set the icon prop to any iconify icon (i-mdi:broadcast in this example)

Not really.