开发者工具DEVELOPER TOOLS
darkroomengineering/lenis
Lenis 是一个让网页滚动变得平滑顺畅的 JavaScript 库,前端开发者可轻松集成。A lightweight smooth-scrolling library for web apps, compatible with vanilla JS, React, Vue, and no-code setups.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
让网页滚动更顺滑
点击锚点能平滑跳转
让弹窗内部还能正常滚动
搭配GSAP动画时滚动不冲突
尊重系统减少动态效果的偏好
Add smooth scrolling with zero JavaScript code
Integrate smoothly with GSAP ScrollTrigger
Handle nested scrollable elements easily
Enable smooth anchor links with optional offset
Respect user's reduced motion preferences
上手GET STARTED
npm i lenis选择与你的环境对应的方式。命令来自项目文档,未运行实测。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
未知Unknown
静态扫描STATIC SCAN
在 README、SKILL.md 和依赖清单中没有匹配到已知风险模式。No known risk patterns matched in the README, SKILL.md or dependency list.
静态扫描未发现明显风险,但不代表安全。The static scan found no known risk patterns, but this does not guarantee complete security.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
04 OCT 202604 OCT 2026
增长GROWTH
+7.5%+7.5%
16k → 17k stars · 47 个快照16k → 17k stars · 47 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
1 条外部提及1 external mentions
状态STATUS
持续活跃Active
质量 A-Quality A-
项目在 GitHub 上有 16156 颗星标,社区认可度高Actively maintained with recent commits (1 commit in the last 7 days)
HN_STORY · 2 points · 0 comments
依赖:Dependencies:@nuxt/kit, react, vue
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 1,
"ai-tools": 0,
"dev-tools": 0,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "dev-tools",
"secondary": null
},
"localRuntime": null,
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 1,
"browser": 0,
"devtool": 0,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}