Skip to content

Legend Motion is a declarative animations library for React Native, to make it easy to transition between styles without needing to manage animations.

License

Notifications You must be signed in to change notification settings

IronTony/legend-motion

 
 

Repository files navigation

Legend Motion

Legend Motion is a declarative animations library for React Native, to make it easy to transition between styles without needing to manage animations.

npm install @legendapp/motion or yarn add @legendapp/motion

import { Motion } from "@legendapp/motion"

<Motion.View
    initial={{ scale: 0.5 }}
    animate={{ scale: value ? 1 : 0.5 }}
 />

Highlights

  • ✨ Supports react-native and react-native-web
  • ✨ API similar to Framer Motion for easy mixing of React Native Web with React
  • ✨ Supports animating SVG and linear gradient
  • ✨ Supports transformOrigin
  • ✨ 0 dependencies using the built-in Animated
  • ✨ Built for maximum performance
  • ✨ Strongly typed with TypeScript

📖 Docs

The full documentation with live examples is on our website.

👩‍⚖️ License

MIT


Legend Motion is created and maintained by Jay Meistrich with Legend and Bravely.

Legend      Bravely

About

Legend Motion is a declarative animations library for React Native, to make it easy to transition between styles without needing to manage animations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 89.7%
  • JavaScript 9.8%
  • Shell 0.5%