Replies: 2 comments 1 reply
-
All React animation tutorials may work with Next, I am almost sure I have been playing with framer-motion recently and it is by far one of the best animation libraries I've utilized. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You have to import these components into your nextjs project to utilize the functionality contained in react-transition-group: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am unable to animate components and Transitions in nextjs. All the tutorials provided are usually about react or page transitions in nextjs.
Neither am I able to find available approaches to animate in Nextjs Docs or some external sources.
I usually style my components as
react-transition-group
package doesn't work for some reason. And, I am unable to find a suitable example for Nextjs. Also, since nextjs doesn't allow css to be directly imported in components.react-animations
is component specific only. If it would be more useful to directly importanimate.css
and then build my own.scss
classes.I have gone through few other libraries, but I am unable to find some good solution to use. Any help or feedback would be appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions