Vigia

npm · npm:focus-trap-react

focus-trap-react active

A React component that traps focus.

The latest stable version of focus-trap-react is 12.0.3, published on 2026-06-22. Verified by Vigia on 2026-11-12.

Latest stable version12.0.3
Published2026-06-22 01:59:38 UTC
Installnpm install focus-trap-react@latest
Requires (engines)none declared
Peer dependenciesreact ^18.0.0 || ^19.0.0 react-dom ^18.0.0 || ^19.0.0 @types/react ^18.0.0 || ^19.0.0 @types/react-dom ^18.0.0 || ^19.0.0
Dist-tagslatest: 12.0.3 tabbable-i905: 10.0.3-tabbable-i905.2
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:32:13 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Is your project affected?

Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md

Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.

Maintenance

Activityactive
Last stable release2026-06-22 01:59:38 UTC · 143 days ago
Stable releases in the last 12 months6
Published versions82

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
12.0.32026-06-22 01:59:38 UTC
12.0.22026-05-16 21:22:40 UTC
12.0.12026-04-25 18:40:19 UTC
12.0.02026-01-29 16:56:00 UTC
11.0.62026-01-11 00:31:17 UTC
11.0.52026-01-07 17:41:07 UTC
11.0.42025-05-28 01:32:37 UTC
11.0.32025-01-13 11:48:20 UTC
11.0.22024-12-31 16:25:08 UTC
11.0.12024-12-12 16:15:41 UTC
11.0.02024-12-07 20:50:24 UTC
10.3.12024-11-10 20:47:43 UTC
10.3.02024-09-21 19:28:18 UTC
10.2.32023-10-12 17:57:56 UTC
10.2.22023-09-25 15:17:36 UTC
10.2.12023-07-04 19:29:33 UTC
10.1.42023-05-19 14:15:25 UTC
10.1.32023-05-17 18:56:57 UTC
10.1.22023-05-10 22:42:18 UTC
10.1.12023-03-08 23:50:33 UTC

Showing the 20 most recent of 79 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
node 1612.0.3
node 1812.0.3
node 2012.0.3
node 2212.0.3
node 2412.0.3

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of focus-trap-react?

The latest stable version of focus-trap-react is 12.0.3, published on 2026-06-22. Verified by Vigia on 2026-11-12.

How do I install the latest version of focus-trap-react?

Run npm install focus-trap-react@latest. The latest stable version is 12.0.3 (verified 2026-11-12).

Is focus-trap-react deprecated?

No. focus-trap-react is not marked as deprecated in the registry.

Which Node.js version does focus-trap-react require?

focus-trap-react 12.0.3 does not declare a Node.js version requirement.

Does focus-trap-react 12.0.3 have known vulnerabilities?

No known advisories affect focus-trap-react 12.0.3 according to the data Vigia checks.

Is focus-trap-react still maintained?

focus-trap-react published 6 stable releases in the last 12 months; the most recent was 143 days ago. Activity: active.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/focus-trap-react/version.svg)](https://vigia.coredls.cloud/npm/focus-trap-react)
[![maintained](https://vigia.coredls.cloud/badge/npm/focus-trap-react/maintained.svg)](https://vigia.coredls.cloud/npm/focus-trap-react)
[![status](https://vigia.coredls.cloud/badge/npm/focus-trap-react/status.svg)](https://vigia.coredls.cloud/npm/focus-trap-react)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap-react
GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap-react/versions/{version}