abpetkov/switchery
iOS 7 style switches for your checkboxes observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4664
- days_rel: n/a
- days_push: 1878
- n_releases_24m: 0
Adoption not part of the score
2032 stars · 462 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Switchery is a small standalone JavaScript component that converts default HTML checkbox inputs into iOS 7 style toggle switches. It is customizable via colors, size, speed, and disabled-state options, and works in all modern browsers including IE8+.
Use cases
- turn html checkboxes into ios style toggle switches
- add toggle switches to a plain javascript form
- customize switch colors and sizes to match a design
- enable or disable switches programmatically
- use ios-style switches in a rails or angular app
When to choose
- you want a lightweight, dependency-free checkbox-to-switch converter
- you need an iOS 7 look for toggles in a legacy or vanilla JS project
- you need IE8+ browser support
When to avoid
- you are building a modern app with a component framework that already ships toggle components
- you need actively maintained software with a declared license
- you need accessible, WCAG-compliant form controls out of the box
Facets
library · maturity maintenance
ui-components frontend-framework web-development frontend web-design browser cross-platform toggle-switch checkbox ios-style vanilla-javascript form-controls
2 sources
- readme: https://github.com/abpetkov/switchery · fetched 2026-08-28 · 75bfee1253b2
- homepage: http://abpetkov.github.io/switchery/ · fetched 2026-08-29 · 8bb70cbcb289
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| abpetkov/switchery | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="abpetkov/switchery")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem