@vcl/flip-switch

A switch that can be toggled between two states


Keywords
css, vcl, component, flip, switch
License
MIT
Install
npm install @vcl/flip-switch@0.7.0-alpha.3

Documentation

VCL flip-switch

A switch that can be toggled between two states.

Features

Two states between which can be toggled.

Usage

basic example

Classes

  • vclFlipSwitch
  • vclFlipSwitchLabel
  • vclFlipSwitchTrack
  • vclFlipSwitchKnob

Modifiers

  • vclFlipSwitchPressed

Variables

  • --flip-switch-height
  • --flip-switch-bg-color
  • --flip-switch-border-color
  • --flip-switch-active-bg-color
  • --flip-switch-active-color
  • --flip-switch-knob-bg-color

Demo

example.html on GH-pages.