QS Pack

Toogle



Variable nameDefault valueDescription
--b-toogle#d9d9d9Background color for the toggle component in its default state.
--c-tooglegreyColor of the toggle knob in its default state.
--b-toogle-active#e096e0Background color for the toggle component when active.
--c-toogle-activepurpleColor of the toggle knob when active.


CSS ClassDescription
toogleBase class for the toggle component. Sets size, background, border-radius, and transition effects.
toogle.activeClass for the toggle component when active. Changes the background and knob position.
toogle.syncingClass for the toggle component when it is in a syncing state. Disables pointer events, changes the cursor, and displays a spinner animation overlay.
toogle.active.syncingClass for an active toggle component that is also in a syncing state. Inherits 'toogle.syncing' styles and adjusts the spinner position for the active state.