Motion Design
LottieFiles/motion-design-skill
Applies motion design principles to create emotionally-driven, technically sound animations and transitions.
Motion design system for Mobazha including animation principles, duration standards, easing functions, prefers-reduced-motion support, and scene-specific animation patterns.
$ npx skills add mobazha/mobazha-unified --skill motion-design -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mobazha/mobazha-unified motion-design --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/motion-design .claude/skills/motion-design && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .claude/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-designType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mobazha/mobazha-unified --skill motion-design -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mobazha/mobazha-unified motion-design --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/motion-design .agents/skills/motion-design && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .agents/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill motion-design -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mobazha/mobazha-unified motion-design --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/motion-design .cursor/skills/motion-design && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .cursor/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mobazha/mobazha-unified.git --path .cursor/skills/motion-design--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mobazha/mobazha-unified --skill motion-design -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mobazha/mobazha-unified motion-design --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/motion-design .gemini/skills/motion-design && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .gemini/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mobazha/mobazha-unified motion-designInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mobazha/mobazha-unified --skill motion-design -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/motion-design .github/skills/motion-design && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .github/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill motion-design -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mobazha/mobazha-unified motion-design --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/motion-design .opencode/skills/motion-design && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "motion-design" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/motion-design into .opencode/skills/motion-design/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "motion-design", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
motion-designMotion design system for Mobazha including animation principles, duration standards, easing functions, prefers-reduced-motion support, and scene-specific animation patterns.
Motion Design is an agent skill from mobazha/mobazha-unified. Motion design system for Mobazha including animation principles, duration standards, easing functions, prefers-reduced-motion support, and scene-specific animation patterns. Use when adding animations, transitions, or micro-interactions, "动效", "动画", "过渡", "transition", "animate", "微交互".
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Motion graphics and Web animation and motion. It works with Motion. The repository describes itself as: Open-source commerce frontend for storefronts, marketplaces, checkout, and seller management. The licence is MPL-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 156c699. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript and css).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Motion Design loads about 1.1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 162 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mobazha/mobazha-unified at commit 156c699, republished under its MPL-2.0 licence (© mobazha). 162 words, ~1,081 tokens.
.claude/skills/motion-design/SKILL.md (or your agent's skills folder).Mobazha 项目的动画和过渡效果统一规范。
| 类别 | 时长 | Tailwind | 使用场景 |
|---|---|---|---|
| 微交互 | 100-150ms | duration-150 | 按钮状态、复选框、开关 |
| 颜色/透明度变化 | 200ms | duration-200 | hover 效果、焦点、active 状态 |
| 面板/展开 | 200-300ms | duration-200/duration-300 | 下拉菜单、手风琴、Tooltip |
| 模态/抽屉 | 300ms | duration-300 | Dialog、Sheet、Drawer |
| 页面/大区域 | 300-500ms | duration-300/duration-500 | 页面过渡、Tab 切换内容 |
原则:越小的元素动画越快,越大的区域动画越慢。
| 场景 | 缓动 | CSS / Tailwind |
|---|---|---|
| 元素进入 | ease-out(减速进入) | ease-out |
| 元素退出 | ease-in(加速退出) | ease-in |
| 元素移动 | ease-in-out | ease-in-out |
| 弹性效果 | cubic-bezier | cubic-bezier(0.34, 1.56, 0.64, 1) |
| 项目默认 | Material ease | cubic-bezier(0.4, 0, 0.2, 1) |
项目 CSS 变量:
--animation-easing: cubic-bezier(0.4, 0, 0.2, 1);所有动画必须尊重用户的减少动效偏好:
// ✅ 正确:CSS 方式(推荐)
<div className="transition-all duration-200 motion-reduce:transition-none">
// ✅ 正确:装饰性动画在减少动效模式下隐藏
<div className="animate-fade-in motion-reduce:animate-none">
// ✅ 正确:全局 CSS 降级
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}例外:不需要降级的场景:
// Toast 通知(已有,参见 use-toast)
toast({ title: '添加成功', variant: 'success' });
// 按钮状态变化
<Button disabled={isSubmitting}>
{isSubmitting ? <Spinner className="w-4 h-4 mr-2 animate-spin" /> : null}
{isSubmitting ? '处理中...' : '提交'}
</Button>;// Tab 内容切换
<div className="animate-fade-in" key={activeTab}>
{tabContent}
</div>
// 模态框出入(Radix Dialog 已内置)
// data-[state=open]:animate-in data-[state=closed]:animate-out// 收藏图标切换
<Heart
className={cn(
'transition-all duration-200',
isFavorited ? 'fill-destructive text-destructive scale-110' : 'text-muted-foreground'
)}
/>
// 开关/复选框
<Switch className="transition-colors duration-200" />// 目前使用 CSS 动画
<div className="animate-fade-in" key={item.id}>
<ItemCard item={item} />
</div>
// 删除时的过渡
<div className={cn(
'transition-all duration-200',
isRemoving && 'opacity-0 -translate-x-4'
)}>定义在 apps/web/src/app/globals.css:
| 工具类 | 效果 | 使用场景 |
|---|---|---|
animate-fade-in | 淡入 | 页面内容加载完成 |
animate-slide-up | 从下方滑入 | 底部面板、Toast |
animate-slide-in-right | 从右方滑入 | 侧边抽屉、详情面板 |
animate-scale-in | 缩放进入 | 弹出菜单、Tooltip |
touch-feedback | 按压缩放+透明度 | 移动端按钮/卡片 |
touch-feedback-bg | 按压背景变色 | 移动端列表项 |
hover-lift | 悬停提升+阴影 | 桌面端卡片 |
当前状态:项目未使用 framer-motion,完全依赖 CSS 动画 + Radix UI 内置动画。
何时考虑引入 framer-motion:
何时不需要:
animate-pulse建议:当前 CSS 动画能满足大部分需求。仅在需要上述复杂场景时按需引入 framer-motion,避免增加 bundle 体积。
motion-reduce: 降级?prefers-reduced-motion 禁用?© mobazha, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/motion-design of mobazha/mobazha-unified.
Open the folder on GitHubat commit 156c699
Motion Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Motion Design this skillmobazha/mobazha-unified | 165 | — | ~1.1k | Automated safety check: Pass | MPL-2.0 | |
| Motion DesignLottieFiles/motion-design-skill | 2k | 1 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Lottie Animation Integrationfreshtechbro/claudedesignskills | 1k | — | ~4.5k | Automated safety check: Pass | MIT | |
| Animate Textpixel-point/animate-text | 149 | 1 repos | ~1.6k | Automated safety check: Pass | None | |
| Motiscope RecreateKumarSashank/motiscope | 122 | — | ~2k | Automated safety check: Pass | MIT | |
| RecreateKumarSashank/motiscope | 122 | — | ~1.8k | Automated safety check: Notes | MIT |
LottieFiles/motion-design-skill
Applies motion design principles to create emotionally-driven, technically sound animations and transitions.
freshtechbro/claudedesignskills
Implements After Effects Lottie animations in web and React apps: picking JSON or dotLottie format, a rendering library, and a data source, with an optimizer script.
pixel-point/animate-text
Curated text animation catalog with exact JSON specs for headings, labels, counters, and text swaps.
KumarSashank/motiscope
Recreate an analyzed animation as working web code — GSAP (JavaScript), CSS/Web Animations, Framer Motion (React), or Lottie/SVG.
KumarSashank/motiscope
Recreate an analyzed animation as working web code — GSAP (JavaScript), CSS/Web Animations, Framer Motion (React), or Lottie/SVG.
yonatangross/orchestkit
Animation and motion design patterns using Motion library (formerly Framer Motion) and View Transitions API.
mobazha/mobazha-unified
Accessibility guide for Mobazha following WCAG 2.1 AA standards including color contrast, reduced motion, ARIA patterns, keyboard navigation, focus management, and screen reader testing.
mobazha/mobazha-unified
Look up Mobazha backend API endpoints, request/response formats, and field mappings.
mobazha/mobazha-unified
Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.
mobazha/mobazha-unified
Simplify and refine recently written code for clarity, consistency, and maintainability while preserving all functionality.
mobazha/mobazha-unified
Generate commit messages and run pre-commit validation following Mobazha conventions.
mobazha/mobazha-unified
Create and modify UI components following Mobazha conventions including directory structure, spacing standards, accessibility, and testing.
Works with
Categories
Motion design system for Mobazha including animation principles, duration standards, easing functions, prefers-reduced-motion support, and scene-specific animation patterns. Motion Design is an agent skill from mobazha/mobazha-unified. Motion design system for Mobazha including animation principles, duration standards, easing functions, prefers-reduced-motion support, and scene-specific animation patterns.
Motion Design fits situations like: adding animations; micro-interactions.
Run `npx skills add mobazha/mobazha-unified --skill motion-design -a claude-code`. Or copy the skill folder (.cursor/skills/motion-design in mobazha/mobazha-unified) into .claude/skills/motion-design in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mobazha/mobazha-unified --skill motion-design -a codex`. Or copy the skill folder (.cursor/skills/motion-design in mobazha/mobazha-unified) into .agents/skills/motion-design in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mobazha/mobazha-unified --skill motion-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/motion-design, .gemini/skills/motion-design, .github/skills/motion-design and .opencode/skills/motion-design in your project.
SKILL.md names no scripts, command-line tools or credentials: Motion Design is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Motion Design is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Motion Design: Motion Design (LottieFiles/motion-design-skill, 2k stars), Lottie Animation Integration (freshtechbro/claudedesignskills, 1k stars), Animate Text (pixel-point/animate-text, 149 stars) and Motiscope Recreate (KumarSashank/motiscope, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mobazha (a GitHub organization) maintains it in mobazha/mobazha-unified, which has 165 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 3, 2026.
Source: mobazha/mobazha-unified on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.