# Switch **This documentation is fully rendered on the [Material Web catalog](https://material-web.dev/components/switch/).** [Switches](https://m3.material.io/components/switch) toggle the state of an item on or off. Two switches on a settings page for Wi-Fi and Bluetooth. The first is on and the second is off. * [Design article](https://m3.material.io/components/switch) * [API Documentation](#api) * [Source code](https://github.com/material-components/material-web/tree/main/switch) ## Usage Switches are similar to checkboxes, and can be unselected or selected. ```html ``` ### Icons Icons can be used to visually emphasize the switch's selected state. Switches can choose to display both icons or only selected icons. ```html ``` ### Label Associate a label with a switch using the `