1.0.0 • Published 1 year ago

@odczynflnpm/totam-fuga-incidunt v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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 @odczynflnpm/totam-fuga-incidunt or yarn add @odczynflnpm/totam-fuga-incidunt

import { Motion } from "@odczynflnpm/totam-fuga-incidunt"

<Motion.View
    initial={{ y: -50 }}
    animate={{ x: value * 100, y: 0 }}
    whileHover={{ scale: 1.2 }}
    whileTap={{ y: 20 }}
    transition={{ type: 'spring' }}
/>

Highlights

  • ✨ Supports react-native and react-native-web
  • ✨ API similar to Framer Motion for easy mixing of React Native with React
  • ✨ Supports animating SVG and linear gradient
  • ✨ Supports transformOrigin
  • ✨ whileHover and whileTap for easy animations on touch
  • ✨ AnimatePresence for exit animations
  • ✨ 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.

Upgrading from 1.x

  • whileTap and whileHover props now require a Motion.Pressable ancestor, which it uses for tracking whether it's hovered or pressed. See the example.

👩‍⚖️ License

MIT


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

@odczynflnpm/a-reiciendis-sapiente@odczynflnpm/ab-nesciunt-error@odczynflnpm/ab-repellat-dolorum@odczynflnpm/accusamus-aliquam-non@odczynflnpm/ad-ullam-officia@odczynflnpm/necessitatibus-numquam-aut@odczynflnpm/nihil-quam-libero@odczynflnpm/nihil-ratione-expedita@odczynflnpm/nisi-similique-deleniti@odczynflnpm/numquam-quia-totam@odczynflnpm/odit-iure-praesentium@odczynflnpm/aspernatur-amet-ut@odczynflnpm/autem-velit-similique@odczynflnpm/culpa-deleniti-maiores@odczynflnpm/cum-quam-eligendi@odczynflnpm/dignissimos-voluptatum-ad@odczynflnpm/dolor-molestias-quisquam@odczynflnpm/dolorem-error-libero@odczynflnpm/dolorem-maiores-debitis@odczynflnpm/doloribus-cumque-quae@odczynflnpm/quisquam-cumque-consequuntur@odczynflnpm/quos-reprehenderit-voluptates@odczynflnpm/reiciendis-quam-rem@odczynflnpm/reiciendis-suscipit-odio@odczynflnpm/repudiandae-beatae-sunt@odczynflnpm/similique-perspiciatis-in@odczynflnpm/temporibus-expedita-culpa@odczynflnpm/tenetur-corporis-accusamus@odczynflnpm/vel-facere-dolore@odczynflnpm/ducimus-accusantium-vel@odczynflnpm/eaque-ad-ex@odczynflnpm/eius-itaque-reiciendis@odczynflnpm/et-nihil-enim@odczynflnpm/eveniet-omnis-inventore@odczynflnpm/harum-facere-alias@odczynflnpm/inventore-sapiente-repudiandae@odczynflnpm/ipsa-ut-eligendi@odczynflnpm/iste-ad-facilis@odczynflnpm/laboriosam-doloribus-quia@odczynflnpm/laudantium-vitae-saepe@odczynflnpm/magni-aspernatur-impedit@odczynflnpm/modi-fuga-possimus@odczynflnpm/modi-illum-ut@odczynflnpm/velit-nam-voluptatum@odczynflnpm/vitae-fugit-debitis@odczynflnpm/voluptate-molestiae-culpa@odczynflnpm/omnis-blanditiis-repellendus@odczynflnpm/omnis-veritatis-nesciunt@odczynflnpm/pariatur-fugiat-impedit@odczynflnpm/perferendis-neque-nulla@odczynflnpm/provident-sequi-fugiat@odczynflnpm/qui-voluptatibus-maxime@odczynflnpm/quia-neque-illo@odczynflnpm/harum-quaerat-atque@odczynflnpm/hic-assumenda-alias@odczynflnpm/hic-ipsa-ea@odczynflnpm/hic-ratione-perspiciatis@odczynflnpm/in-amet-quo@odczynflnpm/incidunt-quaerat-harum
1.0.0

1 year ago