Skip to main content
skill CX Codex

framer-motion-skills — Claude Code skill: what it does, how to install

Five Framer Motion skills for React and Next.js: variants, scroll-linked effects, gestures and shared layout transitions. One command installs them all.

MIT 264 installs ★ 35 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add podo/design-agent-skills --skill framer-motion-skills -a claude-code
Open on GitHub

What framer-motion-skills does

Five skills arrive in one install, each narrowed to a slice of the library. framer-motion-react handles React and Next.js wiring, AnimatePresence and server rendering. framer-motion-variants covers named variants, stagger and sequencing. Scroll position hooks and parallax live in framer-motion-scroll. framer-motion-gestures holds drag, tap, hover and focus. framer-motion-layout gives you layoutId, shared element transitions and reorderable lists.

Once installed, the agent matches your request to the right skill on its own, so there is nothing to call by hand. Add -g for a global install in ~/.agents/skills; leave it out to keep the files inside the project at .agents/skills. MIT license.

The upstream repo also has a sixth skill for the core API, but it won't install: its SKILL.md contains a YAML error, so the CLI skips it and this package leaves it out. After documentation search, CSS springs or a performance audit from the Motion team? That is the motion package. GSAP timelines belong in gsap-skills.

What it helps with

  • Animate a component in and out with AnimatePresence
  • Tie a parallax section to scroll position
  • Share one element between a list and its detail view
  • Add drag and hover behaviour without pointer handlers
  • Stagger child items through variants

Example prompts for the agent

  • Add a shared element transition from the product list to the detail card with layoutId
  • Build a parallax hero using useScroll and useTransform
  • Stagger the menu items as they appear, using Framer Motion variants

How to install framer-motion-skills

1Skills CLI (Vercel)

npx skills add podo/design-agent-skills --skill framer-motion-skills -a claude-code

2Manually: put the files in place

~/.claude/skills/framer-motion-skills/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/framer-motion-skills/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about framer-motion-skills

How do I install framer-motion-skills in Claude Code?

Run npx skills add podo/design-agent-skills --skill framer-motion-skills -a claude-code. The skill lands at ~/.claude/skills/framer-motion-skills/SKILL.md.

What does framer-motion-skills do?

It installs five Framer Motion skills, each covering one area: React and Next.js integration, variants, scroll effects, gestures, layout transitions. The agent then picks the matching one per request.

Why is there no skill for the core Framer Motion API?

The upstream repo lists one, but its SKILL.md has a YAML error, so the skills CLI cannot install it and this package omits it.

Source text

SKILL.md · MIT
---
name: framer-motion-skills
description: |
  Dedicated Framer Motion skills for React: React and Next.js integration,
  variants and orchestration, scroll animations, gestures (drag/tap/hover), and
  layout/shared transitions. Community-published, not by the Motion team.
triggers:
  - "Framer Motion"
  - "framer animation"
  - "layout animation"
  - "shared transitions"
  - "motion variants"
das:
  type: package
  category: motion-animation
  upstream: "https://github.com/C-Jeril/framer-motion-skills"
  version: latest
  install: false
---

# framer-motion-skills

> Catalogue stub — full package: [C-Jeril/framer-motion-skills](https://github.com/C-Jeril/framer-motion-skills)

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->
## Decision tree

1. **Is the full skill already installed?**
   This package installs 5 skills (`framer-motion-gestures`, `framer-motion-layout`, `framer-motion-react`, `framer-motion-scroll`, `framer-motion-variants`); checking the first.
   - Global: `f=~/.agents/skills/framer-motion-gestures/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - Project: `f=.agents/skills/framer-motion-gestures/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - `installed` → the skill is installed as `framer-motion-gestures`, invoke it and proceed
   - `pointer` → go to step 2

2. **Detect scope, then install:**

   ```bash
   [ -e ~/.agents/skills/framer-motion-skills ] && echo "global" || echo "project"
   ```

   **Global:**
   ```bash
   npx skills add C-Jeril/framer-motion-skills --skill framer-motion-gestures framer-motion-layout framer-motion-react framer-motion-scroll framer-motion-variants -g -y
   ```

   **Project:**
   ```bash
   npx skills add C-Jeril/framer-motion-skills --skill framer-motion-gestures framer-motion-layout framer-motion-react framer-motion-scroll framer-motion-variants -y
   ```
   > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation.

**Heads-up**

- **License:** MIT
<!-- das:install:end -->

## Invoke after install

Each skill installs under its own name; the agent picks the right one from the request.

- `framer-motion-react` — "AnimatePresence", "Framer Motion with Next.js", "SSR"
- `framer-motion-variants` — "variants", "stagger", "orchestrated animation"
- `framer-motion-scroll` — "useScroll", "parallax", "scroll-linked animation"
- `framer-motion-gestures` — "drag", "tap", "hover gesture"
- `framer-motion-layout` — "layoutId", "shared element transition", "reorderable list"

## What it does

Separate Framer Motion skills, each covering one slice of the library: React and Next.js integration (`AnimatePresence`, `useAnimation`, SSR), variants and animation orchestration (state machines, stagger, sequencing), scroll-linked and scroll-triggered animation (`useScroll`, `useTransform`, parallax), gesture-driven interaction (drag, pan, tap, hover, focus), and layout animations with shared element transitions (`layoutId`).

The upstream repo also lists a sixth skill for the core API (`framer-motion-core`), but its SKILL.md has a YAML error, so the skills CLI cannot install it today and this pointer leaves it out. For the animation library maintained by the Motion team itself, see the `motion` pointer.

## When NOT to use

- The official Motion skill (docs search, CSS springs, performance audits, upgrade guides) → use `motion`
- GSAP-specific projects or complex timeline orchestration → use `gsap-skills`
- Vanilla CSS animation without a React framework → use `animate-css-skill`

© podo · MIT · podo/design-agent-skills

Similar skills

All skills for Frontend and UI →

From the same set108

The whole set →
deanpeters-pm-skills deanpeters-pm-skills — a skill for Claude Code, Codex and Cursor: nine product management techniques — NNGroup customer journey maps, Lean UX Canvas, Teresa Torres opportunity-solution trees, proto-personas, user story mapping. CX Codex +1 270installs textual-tui-skill textual-tui-skill is a Claude Code skill for building Python terminal interfaces with Textual, covering widgets, styles, background tasks, and tests. CX Codex +1 268installs remotion remotion is a Claude Code skill for building videos from React components, with spring-driven motion and export to MP4, WebM or GIF. CX Codex +1 265installs user-research-cookiy user-research-cookiy is a Claude Code skill for planning user research, creating discussion guides, and synthesizing transcripts in an agent workspace. CX Codex +1 264installs wcag-ai-skill The wcag-ai-skill skill turns WCAG 2.2 criteria into working guidance for design, implementation, accessibility checks, remediation, and conformance docs. Use it across a project’s accessibility workflow. CX Codex +1 244installs mobile-app-design mobile-app-design — a reference skill for mobile UI work: Apple HIG, Material 3, WCAG accessibility, thumb zones and adaptive layouts. Useful when a screen needs review before release. CX Codex +1 242installs awesome-design-skills awesome-design-skills is a Claude Code skill that gives an agent one visual style, such as glassmorphism or editorial, for UI work. CX Codex +1 239installs sleek-design-mobile-apps sleek-design-mobile-apps is a Claude Code skill that builds mobile app screens from a brief in Sleek. It can then implement the design in React Native or HTML. CX Codex +1 231installs

Project sponsors

Companies that keep this analytics open