npm

svelte-motion

Svelte animation library based on the React library framer-motion.

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

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

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

建议复核
安全分
91
最近扫描 2026-06-13
扫描覆盖
100%
168 / 168 文件
高危文件
0
0 条 critical
待复核
1
外联、混淆、敏感行为
推荐入口
暂无浏览器入口
SRI 待确认
SRI 缺失 0
当前版本 0.12.2
168 文件
168 JS / 0 CSS / 0 WASM
1 review files
可在下方文件列表中查看原始构建产物
当前版本 168 个文件,11 个入口候选。未发现可疑外联域名。
使用路径
01确认版本

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

暂无可直接接入的浏览器入口文件,可在文件列表中查看原始构建产物。
1版本
168文件
0.12.2最新

CDN 地址生成器

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

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

版本与文件

当前版本 0.12.2,展示 168 / 168 个文件。
svelte-motion/0.12.2/src/components/AnimatePresence/index.js
JS
68 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/index.js
JS
75 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/LazyMotion/index.js
JS
60 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/MotionConfig/index.js
JS
63 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/MotionContext/index.js
JS
115 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/index.js
JS
2.7 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/layout/index.js
JS
338 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/index.js
JS
887 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/index.js
JS
33.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/utils/geometry/index.js
JS
2.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/value/index.js
JS
11.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/rollup.config.js
JS
860 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/animate.js
JS
1.2 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/animation-controls.js
JS
3.2 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/use-animated-state.js
JS
70 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/use-animation.js
JS
1.6 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/default-transitions.js
JS
1.6 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/easing.js
JS
1.5 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/is-animatable.js
JS
1.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/is-animation-controls.js
JS
215 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/is-keyframes-target.js
JS
172 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/animation/utils/transitions.js
JS
8.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimatePresence/PresenceChild.js
JS
64 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimatePresence/use-presence.js
JS
1.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/types.js
JS
597 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/utils/batcher.js
JS
4.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/utils/crossfader.js
JS
9.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/utils/rotate.js
JS
1.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/AnimateSharedLayout/utils/stack.js
JS
5.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/components/MotionConfig/MotionConfigScaleCorrection.js
JS
1.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/DOMcontext.js
JS
527 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/LayoutGroupContext.js
JS
196 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/LazyContext.js
JS
197 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/MotionConfigContext.js
JS
294 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/MotionContext/create.js
JS
85 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/MotionContext/utils.js
JS
639 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/PresenceContext.js
JS
190 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/context/SharedLayoutContext.js
JS
577 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/events/event-info.js
JS
1.8 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/events/use-dom-event.js
JS
78 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/events/use-pointer-event.js
JS
89 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/events/utils.js
JS
585 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/drag/use-drag-controls.js
JS
3.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/drag/use-drag.js
JS
55 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/drag/utils/constraints.js
JS
5.2 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/drag/utils/lock.js
JS
1.5 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/drag/VisualElementDragControls.js
JS
28.9 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/PanSession.js
JS
5.9 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/use-focus-gesture.js
JS
72 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/use-gestures.js
JS
64 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/use-hover-gesture.js
JS
71 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/use-pan-gesture.js
JS
67 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/use-tap-gesture.js
JS
67 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/utils/event-type.js
JS
503 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/gestures/utils/is-node-or-child.js
JS
541 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/animations.js
JS
268 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/definitions.js
JS
1.2 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/drag.js
JS
293 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/gestures.js
JS
440 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/layout/Animate.js
JS
93 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/layout/Measure.js
JS
81 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/layout/utils.js
JS
903 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/features/use-features.js
JS
213 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/is-forced-motion-value.js
JS
532 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/make-renderless-component.js
JS
221 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/use-motion-ref.js
JS
910 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/use-visual-element.js
JS
71 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/use-visual-state.js
JS
66 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/motion/utils/valid-prop.js
JS
1.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/create-motion-class.js
JS
303 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/create-visual-element.js
JS
481 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/featureBundle.js
JS
431 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/motion-minimal.js
JS
405 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/motion-proxy.js
JS
2.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/motion.js
JS
1.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/convert-to-relative.js
JS
1.2 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/default-scale-correctors.js
JS
4.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/measure.js
JS
775 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/relative-set.js
JS
730 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/scale-correction.js
JS
312 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/projection/utils.js
JS
2.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/svg-visual-element.js
JS
3.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/use-render.js
JS
60 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/batch-layout.js
JS
2.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/camel-to-dash.js
JS
338 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/create-config.js
JS
834 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/css-variables-conversion.js
JS
3.5 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/filter-props.js
JS
1.8 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/is-css-variable.js
JS
223 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/is-svg-component.js
JS
882 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/parse-dom-variant.js
JS
702 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/unit-conversion.js
JS
10.0 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/use-html-props.js
JS
128 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/utils/use-svg-props.js
JS
69 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/animatable-none.js
JS
682 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/defaults.js
JS
847 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/dimensions.js
JS
651 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/find.js
JS
618 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/get-as-type.js
JS
323 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/number.js
JS
1.6 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/test.js
JS
237 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/type-auto.js
JS
224 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/dom/value-types/type-int.js
JS
264 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/config-motion.js
JS
398 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/use-props.js
JS
139 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/build-projection-transform.js
JS
1.9 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/build-styles.js
JS
4.6 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/build-transform.js
JS
2.4 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/create-render-state.js
JS
259 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/render.js
JS
478 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/scrape-motion-values.js
JS
556 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/utils/transform.js
JS
1.3 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/html/visual-element.js
JS
5.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/config-motion.js
JS
1.6 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/lowercase-elements.js
JS
597 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/use-props.js
JS
63 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/utils/build-attrs.js
JS
2.1 KB
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/utils/camel-case-attrs.js
JS
578 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/utils/create-render-state.js
JS
312 B
SRI ready
未分级
0 请求
svelte-motion/0.12.2/src/render/svg/utils/path.js
JS
1.5 KB
SRI ready
未分级
0 请求

库评论

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

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