Switch
An on and off switch with its label beside it.
Forms
Added in v0.76.3
Updated
Default
{ui field}
{ui switch, name: 'notify', label: 'Email me about replies', checked: true /}
{/ui}
A switch is a checkbox with role="switch", drawn as a sliding toggle. It takes the same params as a check: label, checked, value and off. Put it in a field with no label, so the hint and error still sit under it.