Skip to content

A playground to discover capabilities of Motion Provider. Collection of animations, sequences and more that covers Motion Provider essentials.

License

Notifications You must be signed in to change notification settings

Motion-Provider/playground

Repository files navigation

Motion logo
Motion Provider (Beta)

An open-source React animation library
for rapid development.

npm downloads per month npm version NPM License

Installation

npm i motion-provider

The Playground

Playground for Motion Provider animations.

Step 1️⃣ — Setup

Ensure that your React node is ready to be animated or at least plan the outcome in mind by considering:

  • Does it involve an image, text, container, group of elements?
  • If it's a group of elements, how far apart are they?
  • Are they HTML elements or React Nodes?

After finding the answers to the questions, you can move on to step two.

Step 2️⃣ — Imagination

Regarding to the type of element you want animate/create-and-animate:

Step 3️⃣ — Configuration

Adjust as you like. Play with the buttons, slides. Preview the animation looking before applying it. Stuck? Out of ideas? Roll the dice, increase the 'complexity' value in settings to combine more animations at once — considering the app FPS ofc.

And once you're done, copy the dynamically generated code snippet of your desired animation for your next app.

Step 4️⃣ — Implementation

If you haven't installed the package yet, first install via npm i motion-provider. Then go back to your component. Paste the copied snippet, adjust by wiring up the staff, DONE ✅

Step 5️⃣ — Repeat

If the current animation doesn't meet your expectations(very rare), you have the option to restart this cycle from step 3.

About

A playground to discover capabilities of Motion Provider. Collection of animations, sequences and more that covers Motion Provider essentials.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages