{"library":"react-switch","type":"library","category":null,"description":"react-switch is a lightweight, customizable, and accessible toggle-switch component for React applications. Currently at version 7.1.0, it provides a draggable switch with sensible default styling that uses inline styles, eliminating the need for separate CSS imports. Key differentiators include its small bundle size (<2.5 kB gzipped), built-in accessibility features (with guidance on proper label usage), and high customizability for visual appearance. The library is actively maintained, though a specific release cadence isn't published. It supports a wide range of React versions, from 15.3.0 up to 19.0.0, as specified in its peer dependencies, making it compatible with both older and very recent React projects.","language":"javascript","status":"active","version":"7.1.0","tags":["javascript","switch","toggle","toggle-button","toggle-switch","checkbox","react","react-component","typescript"],"install":[{"cmd":"npm install react-switch","imports":["import Switch from 'react-switch';","import type { SwitchProps } from 'react-switch';","const Switch = require('react-switch');"]},{"cmd":"yarn add react-switch","imports":[]},{"cmd":"pnpm add react-switch","imports":[]}],"homepage":"https://react-switch.netlify.app","github":"https://github.com/markusenglund/react-switch","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-switch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-switch/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}