Switch
A control that allows the user to toggle between on and off.
Default
States
Settings Example
Receive push notifications
Receive emails about new products
Get notified about security issues
Form Example
Usage
<twig:Switch id="mode" />
<twig:Label for="mode">Enable feature</twig:Label>
<twig:Switch id="enabled" :checked="true" />
<twig:Switch id="disabled" :disabled="true" />
<twig:Switch id="setting" name="settings[feature]" />