# Bttstrp/bootstrap-switch

Turn checkboxes and radio buttons in toggle switches.

Repository: https://github.com/Bttstrp/bootstrap-switch
Canonical: https://ross.abutalabs.com/products/bootstrap-switch
Language: Pug
License: MIT
License Family: permissive
Topics: bootstrap-switch, bootstrap, switch, toggles, radio, checkbox, toggle-switches
Last push: 2021-10-05T21:37:19+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4969, "days_push": 1793, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5032, forks 1407 (observed 2026-08-28T04:09:08.678420+00:00)

## What it is
A jQuery plugin that turns checkboxes and radio buttons into toggle switches, compatible with Bootstrap 2, 3, and 4. It is distributed via npm, yarn, Bower, Composer, and NuGet.

## Use cases
- turn checkboxes into toggle switches
- convert radio buttons to on/off switches
- add iOS-style toggle switches to a Bootstrap form
- style form checkboxes as switches with jQuery
- add toggle switch UI to Bootstrap 3 or 4 forms

## When to choose
- You are using Bootstrap 2-4 with jQuery and want polished toggle switches
- You need a battle-tested, MIT-licensed switch widget for legacy Bootstrap projects

## When to avoid
- You use Bootstrap 5, which has native form switches
- You are building a jQuery-free or modern framework (React/Vue) app
- You need actively developed features or IE9-era support is irrelevant

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, form-handling, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: bootstrap, jquery-plugin, toggle-switch, checkbox, radio-button, nodejs

## Member repositories
- Bttstrp/bootstrap-switch (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:08.678420+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-29T18:17:26.909604+00:00, confidence not recorded.
  - readme: https://github.com/Bttstrp/bootstrap-switch (fetched 2026-08-28T04:09:08.678420+00:00, sha 892cfee833e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
