设计资源DESIGN· MOTION
wadackel/sweet-scroll
一个轻量的平滑滚动库,让网页内点击链接时自然地滚动到目标位置。A zero-dependency, TypeScript-friendly smooth scroll library with customizable easing for modern web projects.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
点击链接平滑滚动到指定位置
有固定导航时自动避开它
自定义滚动时长和缓动动画
让指定区域内平滑滚动
滚动途中滚轮或触摸屏幕会停止
Smooth scroll with custom easing curves
Compensate for fixed header heights
Use elastic, bounce, or back easing
Scroll horizontally and vertically
Cancel scroll on wheel or touch input
上手GET STARTED
npm install sweet-scroll选择与你的环境对应的方式。命令来自项目文档,未运行实测。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.
静态扫描未发现明显风险,但不代表安全。仅核验官方页面,未审计服务端代码;数据处理和费用以官网为准。Static scanning found no obvious vulnerabilities in the code, but that does not prove it is completely safe.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
05 OCT 202605 OCT 2026
增长GROWTH
+0.0%+0.0%
391 → 391 stars · 55 个快照391 → 391 stars · 55 snapshots
状态STATUS
持续活跃Active
依赖零、体积小,适合不想引入 jQuery 或重量级框架的页面,只需要 npm install sweet-scroll 就能开始用。Zero external dependencies
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 4,
"ai-tools": 0,
"dev-tools": 0,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "motion"
},
"localRuntime": null,
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 4,
"browser": 0,
"devtool": 0,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}