npm
react-modal
Accessible modal dialog component for React.JS
版本 1已同步 1文件 13 SRI 已生成
接入决策台 · 安全可信状态
先确认可用入口,再复制固定版本地址
入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。
建议复核
安全分
83
最近扫描 2026-06-13
扫描覆盖
100%
13 / 13 文件
高危文件
0
0 条 critical
待复核
2
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 3.16.3
13 文件
13 JS / 0 CSS / 0 WASM
2 review files
react-modal/3.16.3/dist/react-modal.min.js
https://cdn.ptab.cn/cdn/react-modal/3.16.3/dist/react-modal.min.js
当前版本 13 个文件,1 个入口候选。未发现可疑外联域名。
快速接入
已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。
<script src="https://cdn.ptab.cn/cdn/react-modal/3.16.3/dist/react-modal.min.js" integrity="sha256-yo1W1OVtQC0xQHBr//eVpYKcPZL8hyp8ar4OvIrWup8=" crossorigin="anonymous"></script>
1版本
13文件
3.16.3最新
CDN 地址生成器
选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。
文件类型
JS
文件大小
341 B
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/react-modal/3.16.3/lib/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/react-modal/3.16.3/lib/index.js" integrity="sha256-B1QzUmFqhgt3fNXpuwNUspB+iuAe5/cQRMAYISfG1do=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
import * as lib from "https://cdn.ptab.cn/cdn/react-modal/3.16.3/lib/index.js";
console.log("module loaded", lib);
</script>版本与文件
当前版本 3.16.3,展示 13 / 13 个文件。
react-modal/3.16.3/lib/index.js
JS
341 BSRI ready
未分级
0 请求react-modal/3.16.3/dist/react-modal.js
JS
41.1 KBSRI ready
未分级
0 请求react-modal/3.16.3/dist/react-modal.min.js
JS
41.1 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/components/Modal.js
JS
10.9 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/components/ModalPortal.js
JS
16.0 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/ariaAppHider.js
JS
3.9 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/bodyTrap.js
JS
2.4 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/classList.js
JS
3.7 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/focusManager.js
JS
3.2 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/portalOpenInstances.js
JS
2.2 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/safeHTMLElement.js
JS
693 BSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/scopeTab.js
JS
2.4 KBSRI ready
未分级
0 请求react-modal/3.16.3/lib/helpers/tabbable.js
JS
2.7 KBSRI ready
未分级
0 请求| 文件 | 大小 | 类型 | SRI | 今日请求 | 操作 |
|---|---|---|---|---|---|
| react-modal/3.16.3/lib/index.js | 341 B | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/dist/react-modal.js | 41.1 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/dist/react-modal.min.js | 41.1 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/components/Modal.js | 10.9 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/components/ModalPortal.js | 16.0 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/ariaAppHider.js | 3.9 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/bodyTrap.js | 2.4 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/classList.js | 3.7 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/focusManager.js | 3.2 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/portalOpenInstances.js | 2.2 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/safeHTMLElement.js | 693 B | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/scopeTab.js | 2.4 KB | JS | ready 未分级 | 0 | |
| react-modal/3.16.3/lib/helpers/tabbable.js | 2.7 KB | JS | ready 未分级 | 0 |
库评论
还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。