Classes list
Every class Switch recognizes, straight from the @flickui/css source.
| Class | Purpose |
|---|---|
.switch | Base class on the wrapping <label> — required |
.switch-input | The real, visually-hidden native <input type="checkbox" role="switch"> |
.switch-track | The visible sliding track |
.switch-thumb | The circular knob that slides within the track |
.switch-state-text / -on / -off | Optional tiny ON/OFF text inside the track |
.switch-label | Optional adjacent text label (place outside .switch-track) |
.is-on | Runtime state — set automatically by flickui.js from the input's checked state |