AGENT SKILL

motion-primitives

Integrate Motion Primitives React animation components with the project's Motion and Tailwind setup.

License 许可
MIT
最近更新
2026-11-04
Stars
★ 0
Forks
0

01 前言 Front Matter

name
motion-primitives
license
MIT
description
Integrate Motion Primitives React animation components with the project's Motion and Tailwind setup.

02 资源文件 9

03 SKILL.md 正文

Motion Primitives

Choose a specific primitive at https://motion-primitives.com/docs. The official CLI supports npx motion-primitives add <component-name>, for example text-morph, and installs component dependencies. Read the pinned CLI README before selecting that route. Check the installed project's Motion version and import conventions, such as motion/react, rather than adding a second incompatible animation runtime.

Preserve the project's Tailwind version, cn helper, tokens and aliases. The repository is beta and source components can change, so record which component revision or CLI version you installed. Use the smallest client boundary needed in SSR frameworks.

Respect reduced motion, keep essential text readable to assistive technology during text transitions, and verify keyboard interaction and layout stability. Unmount and remount the route to catch orphaned animation or observer work. Preserve MIT notices when copying source.

Read source and licensing and source map before choosing code or commands. This guide is shared across Codex, Claude and DSI Skills. Install component dependencies only into the actual target project; installing this guide does not initialize or change a project. Use current official docs when integrating, then validate the actual target route.

04 同仓库更多 Skills