# abpetkov/switchery

iOS 7 style switches for your checkboxes

Repository: https://github.com/abpetkov/switchery
Canonical: https://ross.abutalabs.com/products/switchery
Homepage: http://abpetkov.github.io/switchery/
Language: JavaScript
License Family: other
Last push: 2021-07-12T06:20:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4664, "days_push": 1878, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2032, forks 462 (observed 2026-08-28T04:06:07.644017+00:00)

## What it is
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
- artifact type: library
- maturity: maintenance
- function: ui-components, frontend-framework
- domain: web-development, frontend, web-design
- platform: browser, cross-platform
- tags: toggle-switch, checkbox, ios-style, vanilla-javascript, form-controls

## Member repositories
- abpetkov/switchery (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.644017+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:28.943103+00:00, confidence not recorded.
  - readme: https://github.com/abpetkov/switchery (fetched 2026-08-28T04:06:07.644017+00:00, sha 75bfee1253b2)
  - homepage: http://abpetkov.github.io/switchery/ (fetched 2026-08-29T10:39:20.688398+00:00, sha 8bb70cbcb289)
- Data as of 2026-08-30T08:39:29.467469+00:00.
