Switch
import '@vollowx/seele/m3/switch/switch.js';
Switches are not form element, for a two-state toggle in a form, use checkboxes instead.
<md-switch aria-label="Dark mode"></md-switch>
<label>
Wi-Fi
<md-switch checked></md-switch>
</label>
<label for="switch-bluetooth">Bluetooth</label>
<md-switch id="switch-bluetooth" icons checkedicononly></md-switch>
Note that switches are not automatically labelled by <label> elements and
always need an aria-label.
M3Switch
- Inherits
ToggleButton