Classes list

Every class Switch recognizes, straight from the @flickui/css source.

ClassPurpose
.switchBase class on the wrapping <label> — required
.switch-inputThe real, visually-hidden native <input type="checkbox" role="switch">
.switch-trackThe visible sliding track
.switch-thumbThe circular knob that slides within the track
.switch-state-text / -on / -offOptional tiny ON/OFF text inside the track
.switch-labelOptional adjacent text label (place outside .switch-track)
.is-onRuntime state — set automatically by flickui.js from the input's checked state