{"adoption": {"forks": 99, "observed_at": "2026-08-28T04:04:25.834891+00:00", "stars": 1339}, "canonical_url": "https://ross.abutalabs.com/products/react-switch", "card": {"archived": false, "artifact_type": "library", "description": "A draggable toggle-switch component for React. Check out the demo at:", "domain": ["frontend", "web-development", "accessibility"], "enriched": true, "function": ["ui-components", "form-handling"], "health_score": 20, "homepage": "https://react-switch.netlify.app/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["markusenglund/react-switch"], "name": "markusenglund/react-switch", "platform": ["browser", "cross-platform"], "pushed_at": "2024-12-14T17:19:23+00:00", "repo": "markusenglund/react-switch", "stars": 1339, "tags": ["react", "toggle-switch", "draggable", "react-component", "checkbox", "nodejs"], "topics": [], "urls": [], "use_cases": ["add a toggle switch to a react form", "draggable on/off switch component for react", "accessible toggle button for screen readers", "replace a checkbox with a switch in react", "customize switch size and color in react", "touch-friendly toggle switch for mobile web"], "what_it_is": "A draggable, customizable toggle-switch component for React with built-in accessibility support. It ships as a tiny (<2.5 kB gzipped) npm package using inline styles so no separate CSS import is needed.", "when_to_avoid": ["you are not using React", "you need a full component library with many UI primitives", "you need CSS-module or stylesheet-based theming rather than inline styles"], "when_to_choose": ["you need a small, dependency-free React switch with sensible defaults", "accessibility (screen readers, keyboard/touch) is a requirement", "you want drag interaction and easy styling customization"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-switch", "repo": "markusenglund/react-switch", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.834891+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:43:55.415690+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e044a851c5aa81fdc61530fb7c3c5225c8f216ca3aa2b19f857aa16cf357152", "fetched_at": "2026-08-28T04:04:25.834891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/markusenglund/react-switch"}, {"content_hash": "fdd66e62b85667bc82829dab7318e77efee93fd43805d1713b994bd99b0907ad", "fetched_at": "2026-08-29T12:03:16.342257+00:00", "kind": "homepage", "missing": false, "url": "https://react-switch.netlify.app/"}, {"content_hash": "285ed55a5424e2ff553dc3bad63d300d68eab39f8a62a034ae0e643666ec1aa5", "fetched_at": "2026-08-29T12:03:16.351319+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-switch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3274, "days_push": 627, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}