Pick a theme
Size of the switch, between 2xs, xs, sm
ID of the switch, should be unique
Status Disabled of the switch
Current of the switch, this field if inside a form field
Custom class for the disabled state, use important to avoid conflicts
Custom class for the enabled state, use important to avoid conflicts
Label for the switch
a form field struct retrieved from the form, for example: @form[:remember_me]
CSS class for the Switch
Additional attributes for the switch
Icon to be displayed on the switch when checked
Icon to be displayed on the switch when unchecked