Next.js Discord

Discord Forum

Framer Motion not working in NextJS latest version?

Unanswered
maxx88 posted this in #help-forum
Open in Discord
Hi, I'm trying to use framer-motion library with nextjs 13 and it doesn't seam to work.

27 Replies

help please
.
@maxx88 Hi, I'm trying to use framer-motion library with nextjs 13 and it doesn't seam to work.
your code looks good... can you give me a reproduction repository?
for me framer-motion is working fine
one sec
@joulev
it's working, just that background is black and text is black so you don't see anything. remove the background #000 in globals.css then you will see this
its not working for me 😦
@maxx88 its not working for me 😦
do you have js disabled in your browser by any chance
no I don't
I tried it with vite and worked fine
@maxx88 its not working for me 😦
it works fine for me, see full recording from repo clone to working example
😮
well then I dont know whats happening
idk either... try a fresh browser
try removing .next, node_modules, browser cache and all kinds of cache you can think of
ensure js is enabled in the browser
weird...
yes:/
well thanks man I appreciate it