Adv Switchs

Default



withText



withIcon



Sizing










Stacked










Themes


Options

Reference Details
switch Initialize .switch
withText Use {withText} as: switch <span class="switch-on">on</span></code> <code> <span class="switch-off">off</span>
withIcon Use {withText} as: switch <span class="switch-on"><i>< class="bi bi-check"></i></span></code> <code> <span class="switch-off"><i>< class="bi bi-x"></i></span>
.switch-{size} Use {size} as: sm, lg
.switch-stacked-radio Use {stacked-radio} as: switches-stacked-radio
.switch-{theme} Use {theme} as: colors from mapping theme color mapping $theme-colors