npm

framer-motion

A simple and powerful JavaScript animation library

版本 7已同步 7文件 1,282 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

建议复核
安全分
待扫描
最近扫描 2026-08-06
扫描覆盖
100%
1,282 / 1,282 文件
高危文件
0
0 条 critical
待复核
14
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 13.0.0
187 文件
187 JS / 0 CSS / 0 WASM
14 review files
framer-motion/13.0.0/dist/dom-mini.js
https://cdn.ptab.cn/cdn/framer-motion/13.0.0/dist/dom-mini.js
当前版本 187 个文件,17 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

固定到 13.0.0,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

<script src="https://cdn.ptab.cn/cdn/framer-motion/13.0.0/dist/dom-mini.js" integrity="sha256-cFr5zralRqz23zWj81OMDKZUaB8gTimPa3UqpNEU67I=" crossorigin="anonymous"></script>
7版本
1,282文件
13.0.0最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
134.3 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/framer-motion/13.0.0/dist/cjs/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/framer-motion/13.0.0/dist/cjs/index.js" integrity="sha256-gf782vOc5/KAaI9laO2CiVjg/jJmxhcj/kuk63peiIg=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/framer-motion/13.0.0/dist/cjs/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 13.0.0,展示 187 / 187 个文件。
framer-motion/13.0.0/dist/cjs/index.js
JS
134.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animate/index.mjs
JS
2.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/index.mjs
JS
7.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/LayoutGroup/index.mjs
JS
1.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/LazyMotion/index.mjs
JS
2.0 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/MotionConfig/index.mjs
JS
1.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/MotionContext/index.mjs
JS
173 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/drag/index.mjs
JS
1.9 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/pan/index.mjs
JS
1.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/index.mjs
JS
5.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/animation/index.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/viewport/index.mjs
JS
2.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/index.mjs
JS
5.6 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/scroll/index.mjs
JS
579 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/scroll/offsets/index.mjs
JS
2.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/viewport/index.mjs
JS
1.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/value/use-will-change/index.mjs
JS
300 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/client.js
JS
18.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/debug.js
JS
278 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/dom-mini.js
JS
22.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/dom.js
JS
50.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/feature-bundle-BZV7Y7IM.js
JS
62.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/index-BuO47Yrm.js
JS
27.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/m.js
JS
17.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/cjs/mini.js
JS
6.0 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/dom-mini.js
JS
12.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/dom.js
JS
136.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animate/resolve-subjects.mjs
JS
669 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animate/sequence.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animate/subject.mjs
JS
2.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animators/waapi/animate-elements.mjs
JS
4.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animators/waapi/animate-sequence.mjs
JS
578 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/animators/waapi/animate-style.mjs
JS
523 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/hooks/animation-controls.mjs
JS
2.6 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/hooks/use-animate-style.mjs
JS
661 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/hooks/use-animate.mjs
JS
1.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/hooks/use-animated-state.mjs
JS
1.9 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/hooks/use-animation.mjs
JS
1.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/optimized-appear/handoff.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/optimized-appear/start.mjs
JS
6.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/optimized-appear/store-id.mjs
JS
272 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/optimized-appear/store.mjs
JS
159 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/create.mjs
JS
14.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
JS
214 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/utils/calc-time.mjs
JS
683 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/utils/edit.mjs
JS
1.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/utils/normalize-times.mjs
JS
712 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/sequence/utils/sort.mjs
JS
293 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/utils/create-visual-element.mjs
JS
1.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/animation/utils/is-dom-keyframes.mjs
JS
184 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/client.mjs
JS
3.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/PopChild.mjs
JS
4.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/PresenceChild.mjs
JS
3.0 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/use-presence-data.mjs
JS
325 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/use-presence.mjs
JS
2.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimatePresence/utils.mjs
JS
471 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/AnimateSharedLayout.mjs
JS
653 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/Reorder/Group.mjs
JS
3.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/Reorder/Item.mjs
JS
2.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/Reorder/namespace.mjs
JS
142 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/Reorder/utils/auto-scroll.mjs
JS
5.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/components/Reorder/utils/check-reorder.mjs
JS
876 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/DeprecatedLayoutGroupContext.mjs
JS
308 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/LayoutGroupContext.mjs
JS
180 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/LazyContext.mjs
JS
174 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/MotionConfigContext.mjs
JS
286 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/MotionContext/create.mjs
JS
590 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/MotionContext/utils.mjs
JS
550 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/PresenceContext.mjs
JS
209 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/ReorderContext.mjs
JS
170 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/context/SwitchLayoutGroupContext.mjs
JS
253 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/debug.mjs
JS
77 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/dom-mini.mjs
JS
210 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/dom.mjs
JS
535 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/events/add-pointer-event.mjs
JS
313 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/events/event-info.mjs
JS
390 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/events/use-dom-event.mjs
JS
1.0 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/drag/use-drag-controls.mjs
JS
2.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/drag/utils/constraints.mjs
JS
4.6 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/drag/VisualElementDragControls.mjs
JS
24.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/focus.mjs
JS
1.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/hover.mjs
JS
953 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/pan/PanSession.mjs
JS
10.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/gestures/press.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/m.mjs
JS
3.9 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/mini.mjs
JS
122 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/animation/exit.mjs
JS
2.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/animations.mjs
JS
325 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/definitions.mjs
JS
1.5 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/drag.mjs
JS
463 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/gestures.mjs
JS
530 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/layout.mjs
JS
274 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/layout/MeasureLayout.mjs
JS
5.2 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/load-features.mjs
JS
499 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/features/viewport/observers.mjs
JS
1.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/is-motion-component.mjs
JS
355 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/symbol.mjs
JS
138 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/unwrap-motion-component.mjs
JS
578 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/use-motion-ref.mjs
JS
1.8 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/use-visual-element.mjs
JS
7.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/use-visual-state.mjs
JS
3.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/motion/utils/valid-prop.mjs
JS
1.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/projection.mjs
JS
256 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/projection/use-instant-layout-transition.mjs
JS
436 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/projection/use-reset-projection.mjs
JS
385 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/create-proxy.mjs
JS
1.7 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/m/create.mjs
JS
262 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/m/elements.mjs
JS
14.3 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/m/proxy.mjs
JS
153 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/motion/create.mjs
JS
443 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/motion/elements.mjs
JS
15.1 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/motion/feature-bundle.mjs
JS
437 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/components/motion/proxy.mjs
JS
332 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/create-visual-element.mjs
JS
624 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/features-animation.mjs
JS
426 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/features-max.mjs
JS
336 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/features-min.mjs
JS
310 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/scroll/attach-animation.mjs
JS
1.4 KB
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/scroll/attach-function.mjs
JS
820 B
SRI ready
未分级
0 请求
framer-motion/13.0.0/dist/es/render/dom/scroll/info.mjs
JS
1.5 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。