Mobile and desktop apps · Skill

Add Expo motion

add-expo-motion

Adds motion and animation in an Expo project with Reanimated, on the UI runtime, using a spring or a timing and a reduced-motion path. Use when the user wants a gesture, press feedback, or a screen transition.

Works with: Any AI Not yet model-tested; testing Jan 2027

Paste it into ChatGPT, Claude, Gemini or any AI chat, then tell it about your project. How it works

Install in Claude Code, Cursor or Codex (optional)

Only for AI coding tools that read skill folders. Run one line in a terminal, in your project folder. It downloads this skill's text files from TheSkillVault and nothing else; you can read them first with “View raw SKILL.md”.

Claude Code (all your projects)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/raw' -o ~/'.claude/skills/add-expo-motion/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/files/LICENSE.txt' -o ~/'.claude/skills/add-expo-motion/LICENSE.txt'

Cursor (this project)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/raw' -o '.cursor/skills/add-expo-motion/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/files/LICENSE.txt' -o '.cursor/skills/add-expo-motion/LICENSE.txt'

Codex and other Agent Skills tools (this project)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/raw' -o '.agents/skills/add-expo-motion/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/add-expo-motion/files/LICENSE.txt' -o '.agents/skills/add-expo-motion/LICENSE.txt'

Or connect the whole library over MCP

Add TheSkillVault to Cursor or add this to your app's MCP settings (read-only; help):

{
  "mcpServers": {
    "theskillvault": {
      "url": "https://theskillvault.ai/mcp"
    }
  }
}

Motion should be rare. A control the person hits all day should not slide. Name the purpose first: feedback, continuity, or a rare delight.

When to use

  • A press, a drag, or a transition should move.
  • The motion stutters because it runs on the JavaScript runtime.
  • Reduced motion is ignored.

When not to use

  • The need is a data request. That is a separate skill.
  • The need is an over-the-air bundle. That is a separate skill.
  • The motion is for a website. This is the Expo path.
  • The person only wants a native sheet from Expo UI. That is a separate skill.

Steps

  1. Decide whether it should move. Frequent switches stay still. A press can be a short scale. A sheet or a first-run moment can take longer.
  2. Install react-native-reanimated and react-native-worklets with npx expo install, so the version matches the SDK. Add react-native-gesture-handler when a finger drives the motion.
  3. Keep frame-by-frame motion on the UI runtime. A shared value plus a gesture is for a drag. A two-state press can be a CSS transition in Reanimated. Do not use a worklet for a simple toggle.
  4. Pick a spring when the motion should feel physical, and a timing when it should take a fixed duration.
  5. Screen-to-screen changes use the native stack in Expo Router. Do not rebuild that transition by hand.
  6. Offer a reduced-motion path that skips or shortens the move. Write that path next to the animated one. This library did not run the motion.

Gotchas

  • Do not include passwords, tokens, or private labels in sample motion.
  • There is no hover. Press, drag, or nothing.
  • Haptics, if used, come from expo-haptics and stay soft.
  • This is an independent how-to adapted from Emil Kowalski's skill as published in expo/skills. It is not official Expo documentation, and no motion was run for this library.

Portability

If you use Reanimated on a bare React Native project, the same UI-runtime rule holds. If you use SwiftUI, use its own motion tools instead. If you use the web, do not follow this Expo path.

Done when

  • The motion has a named purpose, or it was left still.
  • Frame-by-frame motion stays on the UI runtime.
  • Reduced motion has a path.

Example prompt

"Add a short Reanimated press scale on this Expo button, on the UI runtime, with a reduced-motion path. Do not animate peer switches."

---

Adapted from "expo-animation" by Emil Kowalski (MIT, Copyright (c) 2026 Emil Kowalski), as published in expo/skills. See LICENSE.txt.

Bundled files

Licence

Adapted from Emil Kowalski (expo/skills expo-animation; also published in emilkowalski/skills) (Copyright (c) 2026 Emil Kowalski), MIT License. Adapted by TheSkillVault: rewritten as a short motion pass (when to animate, UI runtime, spring or timing, reduced motion); dropped the recipe catalogue. Independent how-to, not official Expo or Reanimated documentation. No motion was run for this library.

Licence: MIT License. Attribution when you reuse it: Based on work by Emil Kowalski (expo/skills expo-animation; also published in emilkowalski/skills) (Copyright (c) 2026 Emil Kowalski, MIT License), https://github.com/expo/skills/tree/a9e5bd3fa00b4e61f632e43f85da73aee1942582/plugins/expo/skills/expo-animation; adapted by TheSkillVault, https://theskillvault.ai