So provide it as an option damnit! I wasn't suggesting getting rid of checkboxes not sure why everyone makes that assumption
<input type="checkbox" ...>
<input type="slide_toggle" ...>
<input type="range" min="0" max="1000" step="5">
<input type="color">
....
You can have whatever you want, just saying, make modern UI native components accessible via HTML without some CPU-intensive div-react-polyfill-javascript fluff. It's ridiculous that if you need to implement a slide toggle, which is available as a native component, that you try to emulate the shit out of it with some images and CSS and javascript and more div hell for the sliding animation and then even more div hell for the little radiating animation instead of just dropping in the native widget which will do all of that and at way better fps than your emulated version.