implement_lenis_scroll
✓有关在 Next.js 或 React 应用程序中实现 Lenis 平滑滚动的说明。
SKILL.md
This skill guides you through adding buttery smooth scrolling to a React/Next.js application using @studio-freight/lenis (or the newer lenis package).
Create the Lenis Hook/Component It's best to encapsulate Lenis in a reusable component or hook.
Option A: Global Component (Recommended for Next.js App Router) Create src/lib/lenis.ts or src/components/SmoothScroll.tsx.
有关在 Next.js 或 React 应用程序中实现 Lenis 平滑滚动的说明。 来源:jerrar670/surf-website。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/jerrar670/surf-website --skill implement_lenis_scroll- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 implement_lenis_scroll?
有关在 Next.js 或 React 应用程序中实现 Lenis 平滑滚动的说明。 来源:jerrar670/surf-website。
如何安装 implement_lenis_scroll?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jerrar670/surf-website --skill implement_lenis_scroll 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/jerrar670/surf-website