adamculpepper / toggle-switchyView on GitHub
CSS toggle switch for checkbox inputs. No JavaScript, no dependencies, one stylesheet under 8KB. Five sizes, seven colors, rounded or square, optional ON/OFF text, labels left or right. Keyboard accessible with visible focus styles, and every selector is scoped so it will not touch the rest of your CSS.
46Aug 5, 2026Updated 3 weeks ago

Alternatives and similar repositories for toggle-switchy

Users that are interested in toggle-switchy are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.

Sorting:

Are these results useful?