Pure CSS Toggle Buttons as a Web component
MIT License
Pure CSS Toggle Buttons - ON-OFF Switches
npm install css-toggle-component
https://rajasegar.github.io/css-toggle-component
<css-toggle theme="slide"></css-toggle>
<css-toggle theme="move"></css-toggle>
<css-toggle on-label="YES" off-label="NO"></css-toggle>
Pass on any one of the following values for different toggle effects to theme
property.
https://codepen.io/himalayasingh/pen/EdVzNL?editors=1000
A Pen by Himalaya Singh