Getting started

Install Motion UI in React or Next.js with npx motion-ui-skill, or add the AI coding agent skill for Claude Code, Cursor, Windsurf, Codex and Copilot.

Motion UI is a free, MIT-licensed skill package: components install as source into your project alongside shared tokens, hooks and physics curves.

Install the dependencies

npm i motion@^13.1.0 clsx tailwind-merge lucide-react

Set up Tailwind CSS, add the theme CSS variables, and configure the @ path alias to your project root so @/components and @/lib resolve.

Install a component

npx motion-ui-skill add command-palette
npx motion-ui-skill add button --style minimal

Use the CLI to copy the component, its utilities and guide into your project, or copy the source from a component page.

AI coding agents

Works as a skill across Claude Code, Cursor, Windsurf, Codex, Copilot, Antigravity via npx motion-ui-skill. Machine-readable indexes are published at llms.txt and catalog.json.

Styles and motion

Components use shared theme tokens, springs and easing curves. The interactive documentation includes the CSS token block, path alias configuration, style presets and accessibility guidance.

Browse the component catalogue