mobile-motion-patterns

Installation
SKILL.md

Mobile motion patterns

JS-driven animation in web/mobile uses the motion package through the shared presets module src/lib/motion/presets.ts. Components never define their own durations, easings, or springs.

The presets

Consume via the hook (reduced-motion aware — this is mandatory):

import {AnimatePresence, motion} from "motion/react"

import {useMotionPresets} from "@/lib/motion/presets"

const presets = useMotionPresets()
Installs
2
GitHub Stars
4.8K
First Seen
Sep 5, 2026