Key numbers
As of 25 Sept 2026
- Weekly downloads
- 274.9k
- -4% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v7.1.0
- GitHub stars
- 1.3k
- 99 forks
- Open issues / PRs
- 31 / 8
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
274,898 downloads last week, 1,150,957 in the last month. The 12-month change of -4% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 7.1.0, 14 Dec 20241 year ago
- First published
- -
- Last push to GitHub
- 14 Dec 2024649 days before the snapshot
- Repository archived
- No
- Open issues
- 31
- Open pull requests
- 8
- Commits, last 52 weeks
- 0
- Dependents on npm
- 431
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 95 kB
- Dependencies (1)
prop-types- Peer dependencies (2)
reactreact-dom
npm install react-switch- jsDelivr
https://cdn.jsdelivr.net/npm/react-switch@7.1.0/ - unpkg
https://unpkg.com/react-switch@7.1.0/ - esm.sh
https://esm.sh/react-switch@7.1.0
Indexability: Indexed.