设计资源DESIGN· MOTION
LottieFiles/dotlottie-web
用 Rust+WASM 打造的高性能 Lottie 动画播放器,适配 React、Vue 等框架。A high-performance Lottie and dotLottie player for the web, built with Rust and WASM, with bindings for React, Vue, Svelte, Solid, and vanilla JS.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
在网页里播放 Lottie 和 dotLottie 动画
用几行代码让动画自动播放或循环
给动画换主题颜色,不用重新制作
把动画渲染放到后台线程,界面不卡顿
用 WebGL 或 WebGPU 加速动画渲染
Play Lottie and dotLottie files in any toolkit
Run animations off the main thread with Web Workers
Change colors and styles at runtime without re-exporting
Add interactive state machines to animations
Use hardware-accelerated rendering via WebGL2 or WebGPU
上手GET STARTED
npm install @lottiefiles/dotlottie-web选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01安装时执行脚本Runs a script during installpackage.json
preinstall: npx only-allow pnpm
安装时执行脚本发现了一个中等风险:`preinstall`里用了`only-allow pnpm`,它会强制用`pnpm`安装,否则弹错退出。这个脚本本身不算恶意,但会干预你的正常安装流程。The static scan found a medium-risk issue: a preinstall script runs 'npx only-allow pnpm', which executes code during installation. This is intentional to enforce a package manager, but you should review it before using in production.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
+7.0%+7.0%
891 → 953 stars · 50 个快照891 → 953 stars · 50 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
5 条外部提及5 external mentions
状态STATUS
持续活跃Active
质量 AQuality A
该项目创建于 2023 年 10 月,最近一次提交在 2026 年 9 月,说明它仍在积极维护中。Core is written in Rust and compiled to WASM for performance
HN_STORY · 5 points · 0 comments
HN_STORY · 26 points · 1 comments
HN_STORY · 3 points · 0 comments
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 7,
"ai-tools": 0,
"dev-tools": 0,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "motion"
},
"localRuntime": "es, complex masks — opt in to GPU rendering via subpath imports: ```js /",
"skillMdTotal": 1,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 1,
"design": 5,
"browser": 0,
"devtool": 0,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [
{
"signal": "1 SKILL.md with name + description",
"weight": 0.95
}
],
"scannedSources": [
"readme",
"SKILL.md"
],
"skillMdFetched": 1
}