# react-switch — card for AI agents

Draggable toggle switch for React.

Category: UI components and icons · npm package `react-switch` · latest version 7.1.0 (checked 2026-11-01)
Install: `npm install react-switch`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 36.6 (#3528 of all tools, 205 of 230 in its category)
- Downloads last week: 531,462 (as of 2026-11-24), +37.6% over 4 weeks
- GitHub stars: 1,339 (as of 2026-11-24)
- Last push: 2024-12-14

## Often used with
React 100.0%, ethers.js 60.0%, Next.js 60.0%, Tailwind CSS 80.0%, ESLint 80.0%, React Three Fiber 40.0%

## Links
- AgentGid page: https://agentgid.com/tools/react-switch/
- Homepage: https://github.com/markusenglund/react-switch#readme
- Repository: https://github.com/markusenglund/react-switch

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
