Skip to content
#

toggle-switch

Here are 67 public repositories matching this topic...

toggle-switchy

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.

  • Updated Aug 5, 2026
  • CSS

Improve this page

Add a description, image, and links to the toggle-switch topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the toggle-switch topic, visit your repo's landing page and select "manage topics."

Learn more