Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for staggered animations #27

Closed

Conversation

vishwamartur
Copy link

Related to #15

Add support for staggered animations with incremental delays for list or grid items.

  • src/modifiers.js

    • Add a new utility motion-stagger to handle staggered delays for multiple elements.
    • Update the motion-delay utility to support staggered delays.
    • Add a new theme configuration for motionStagger with predefined values.
  • README.md

    • Add documentation for the new motion-stagger utility.
    • Provide usage example for staggered animations.

Related to romboHQ#15

Add support for staggered animations with incremental delays for list or grid items.

* **src/modifiers.js**
  - Add a new utility `motion-stagger` to handle staggered delays for multiple elements.
  - Update the `motion-delay` utility to support staggered delays.
  - Add a new theme configuration for `motionStagger` with predefined values.

* **README.md**
  - Add documentation for the new `motion-stagger` utility.
  - Provide usage example for staggered animations.
@KevinGrajeda
Copy link
Collaborator

Thanks for the contribution! I tried using the example you added to the README, but it doesn't seem to work. Also, with the code I see, it wouldn't work either. I'm not sure if there's something missing in the PR or if I'm doing something wrong. Let me know what you think

@vishwamartur
Copy link
Author

@KevinGrajeda we can rework on this

@KevinGrajeda
Copy link
Collaborator

@vishwamartur for sure. If you have any ideas on how to implement this, we can discuss them on #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants