{"adoption": {"forks": 74, "observed_at": "2026-08-28T04:04:35.468173+00:00", "stars": 1389}, "canonical_url": "https://ross.abutalabs.com/products/react-focus-lock", "card": {"archived": false, "artifact_type": "library", "description": "It is a trap! A lock for a Focus. 🔓", "domain": ["web-development", "frontend", "accessibility"], "enriched": true, "function": ["ui-components", "accessibility"], "health_score": 86, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["theKashey/react-focus-lock"], "name": "theKashey/react-focus-lock", "platform": ["browser"], "pushed_at": "2026-08-10T11:39:31+00:00", "repo": "theKashey/react-focus-lock", "stars": 1389, "tags": ["focus-trap", "modal-dialogs", "a11y", "react-component", "focus-management", "react", "javascript"], "topics": ["react", "a11y", "focus", "modal-dialogs", "focus-lock"], "urls": [], "use_cases": ["trap focus inside a modal dialog", "prevent tabbing out of a form", "manage focus for accessibility in React apps", "return focus to the trigger element when a dialog closes", "create multiple isolated focus lock groups", "handle focus for content rendered in React portals"], "what_it_is": "A React library that traps keyboard focus within a component, such as a modal dialog, preventing users from tabbing out. It supports React portals, focus groups, return-focus behavior, and programmatic focus management.", "when_to_avoid": ["you need combined scroll and focus locking (consider react-focus-on)", "your project is not React-based", "you only need simple focus styling rather than focus containment"], "when_to_choose": ["building accessible modal dialogs or popovers in React", "you need focus containment that works with portals and positive tab indexes", "you want a small, battle-tested library trusted by major UI frameworks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-focus-lock", "repo": "theKashey/react-focus-lock", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "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:35.468173+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:35.468173+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:39:43.863627+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01d8d19a4b752050d4dee36704e036abb4b86e914aee9ad05384bc05c93e469", "fetched_at": "2026-08-28T04:04:35.468173+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theKashey/react-focus-lock"}, {"content_hash": "509eafeaa788dc982c16a075816f265df772469730080eb8e7429fe653162a86", "fetched_at": "2026-08-29T11:55:12.025182+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-focus-lock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3291, "days_push": 23, "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}}