motion
关于 motion
使用 Motion(Framer Motion)构建 React 动画——手势(拖拽、悬停、点击)、滚动效果、弹簧物理、布局动画、SVG。体积:2.3 KB(mini)至 34 KB(full)。适用场景:拖放、滚动动画、模态框、轮播、视差。故障排查:AnimatePresence 退出、列表性能、Tailwind 冲突、Next.js「use client」。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / fellipeutaka/ leon --skill motion安装后在 Claude Code 中输入/motion确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
README.md.claude-plugin/plugin.jsonagents/openai.yamlreferences/common-patterns.mdmotion-vs-auto-animate.mdnextjs-integration.mdperformance-optimization.mdrules/motion.mdscripts/init-motion.shoptimize-bundle.shtemplates/layout-transitions.tsxmotion-nextjs-client.tsxmotion-vite-basic.tsxscroll-parallax.tsxui-components.tsx评论
支持 Markdown