{"adoption": {"forks": 127, "observed_at": "2026-08-28T04:06:35.118126+00:00", "stars": 2296}, "canonical_url": "https://ross.abutalabs.com/products/nice-modal-react", "card": {"archived": false, "artifact_type": "library", "description": "A modal state manager for React.", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["state-management", "ui-components", "frontend-framework"], "health_score": 81, "homepage": "https://ebay.github.io/nice-modal-react", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["eBay/nice-modal-react"], "name": "eBay/nice-modal-react", "platform": ["cross-platform"], "pushed_at": "2026-08-11T10:40:21+00:00", "repo": "eBay/nice-modal-react", "stars": 2296, "tags": ["react", "modal", "modals", "promise-based", "zero-dependency", "typescript", "web-server", "nodejs"], "topics": ["react", "modal"], "urls": [], "use_cases": ["show modals anywhere in a react app without prop drilling", "manage modal visibility by id instead of importing components", "get promise-based results when a modal task completes", "avoid remounting modals and breaking css transitions", "integrate modal state management with material ui or ant design", "keep modal component code unexecuted until the modal is shown"], "what_it_is": "A small, zero-dependency React utility for managing modal state globally via context, allowing modals to be shown or hidden by component reference or registered id. It is not a modal component itself but works with any UI library's modal/dialog implementation.", "when_to_avoid": ["you need an actual modal/dialog UI component rather than state management", "your app uses vue, svelte, or another non-react framework", "you already use a UI library whose modal API meets your needs", "you need complex workflow or wizard orchestration beyond simple show/hide"], "when_to_choose": ["you use react and juggle many modals across a large component tree", "you want promise-based interaction with modal results", "you want a tiny (~2kb) zero-dependency modal state solution", "you want modals decoupled from their call sites via string ids"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nice-modal-react", "repo": "eBay/nice-modal-react", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "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:06:35.118126+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.118126+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:40:19.743791+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb298ba50d9b0d706a106b372a81e7d3d4d6a3f31cb9b08f7ca3d7eb2eeefbbc", "fetched_at": "2026-08-28T04:06:35.118126+00:00", "kind": "readme", "missing": false, "url": "https://github.com/eBay/nice-modal-react"}, {"content_hash": "be0ddd4810b999bb5bb1c8b81ed03be5fca1608d468eae55d2866b8bab77cec2", "fetched_at": "2026-08-29T10:21:01.743190+00:00", "kind": "homepage", "missing": false, "url": "https://ebay.github.io/nice-modal-react"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1835, "days_push": 22, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 66, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}