npm · npm:react-switch
react-switch active
Draggable toggle-switch component for react
The latest stable version of react-switch is 7.1.0, published on 2024-12-14. Verified by Vigia on 2026-11-12.
| Latest stable version | 7.1.0 |
|---|---|
| Published | 2024-12-14 17:23:28 UTC |
| Install | npm install react-switch@latest |
| Requires (engines) | none declared |
| Peer dependencies | react ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 |
| Dist-tags | beta: 7.0.0 alpha: 4.0.0-alpha.0 latest: 7.1.0 experimental: 7.0.0-experimental.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:19:19 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2024-12-14 17:23:28 UTC · 698 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 34 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
7.1.0 | 2024-12-14 17:23:28 UTC |
7.0.0 | 2022-06-09 09:30:25 UTC |
6.1.0 | 2022-06-08 13:36:29 UTC |
6.0.0 | 2021-01-07 18:48:37 UTC |
5.0.1 | 2019-07-16 18:24:22 UTC |
5.0.0 | 2019-04-22 16:23:08 UTC |
4.1.0 | 2019-02-17 11:42:02 UTC |
4.0.1 | 2019-01-30 22:46:18 UTC |
4.0.0 | 2019-01-30 21:35:19 UTC |
3.0.4 | 2018-06-15 22:28:01 UTC |
3.0.3 | 2018-06-15 21:16:41 UTC |
3.0.2 | 2018-06-07 21:35:02 UTC |
3.0.1 | 2018-06-07 20:57:46 UTC |
3.0.0 | 2018-06-07 13:02:32 UTC |
2.3.2 | 2018-04-20 13:28:02 UTC |
2.3.1 | 2018-04-08 11:09:06 UTC |
2.3.0 | 2017-12-27 09:01:38 UTC |
2.2.0 | 2017-12-19 14:02:32 UTC |
2.1.0 | 2017-11-22 09:09:38 UTC |
2.0.1 | 2017-11-03 07:38:38 UTC |
Showing the 20 most recent of 25 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of react-switch?
The latest stable version of react-switch is 7.1.0, published on 2024-12-14. Verified by Vigia on 2026-11-12.
How do I install the latest version of react-switch?
Run npm install react-switch@latest. The latest stable version is 7.1.0 (verified 2026-11-12).
Is react-switch deprecated?
No. react-switch is not marked as deprecated in the registry.
Which Node.js version does react-switch require?
react-switch 7.1.0 does not declare a Node.js version requirement.
Does react-switch 7.1.0 have known vulnerabilities?
No known advisories affect react-switch 7.1.0 according to the data Vigia checks.
Is react-switch still maintained?
react-switch published 0 stable releases in the last 12 months; the most recent was 698 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- react-dom
- postcss-for
- brace
- sharp-ico
- tap
- @inversifyjs/prototype-utils
- @shikijs/twoslash
- @strapi/utils
- node-sql-parser
- @types/json-diff
- @cosmjs/stargate
- @types/react-simple-maps
- @types/vfile
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/react-switch) [](https://vigia.coredls.cloud/npm/react-switch) [](https://vigia.coredls.cloud/npm/react-switch)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-switch
GET https://vigia.coredls.cloud/v1/packages/npm/react-switch/versions/{version}