Report a problem or share feedback← Catalog
Variants
freemotion/variants
An example of orchestrating animation sequences using Motion for React's variants.
$
pnpm add motion # then adapt the free source from https://motion.dev/examples/react-variantsnpm deps: motion

- Source
- Motion (motion.dev)
- Kind
- transition
- Categories
- transition, input
- Use as
- recipe — technique you apply to your own markup
- Applies to
- navigationcard
- Motion
- on enter · medium · motion · medium cost
- Tags
- motion, animate, whileHover, whileTap, variants
- Licence
- motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
- Live demo
- motion.dev
- Docs
- motion.dev
Similar
Compare all 4 →- AnimateView: App Storemotion/animate-view-app-storeAn example of animating cards inspired by the iOS App Store using AnimateView's shared element transitions from Motion for React.
- Clerk: Conditional Fieldmotion/clerk-conditional-fieldA password field that animates into a sign-in form only when it's needed. The container animates its measured height with Motion's resize() util while the field fades in.
- Clerk: Sign-in-or-upmotion/clerk-sign-inA complete custom sign-in-or-up flow built with Motion, combining the conditional password field and the card-stack verification step. Wire the same UI to Clerk's useSignIn() and useSignUp() hooks.