Loading video...

Video Failed to Load

Go Home

Playing with React's <ViewTransition> for cross-page animations in Next.js. It's early and experimental, but very cool! Two tips: • Use a poor man's motion blur for movement `filter: blur(0->10->0)` • Use Chrome's animations devtools to debug

160,204 views • 1 year ago •via X (Twitter)

11 Comments

Delba's profile picture
Delba1 year ago

Here is a diff adding view transitions: Still figuring out best practices and how to compose everything. Tailwind adding some view transition presets will go a long way.

CodeRabbit's profile picture
CodeRabbit1 year ago

AI-first pull request reviewer with context-aware feedback, line-by-line code suggestions, and real-time chat.

Cory Simmons's profile picture
Cory Simmons1 year ago

As someone who disables motion blur in every single thing I possibly can including closing my eyes at movie theaters, I'd suggest not adding motion blur.

Delba's profile picture
Delba1 year ago

Animations are disabled if you set prefers reduced motion

Drayken's profile picture
Drayken1 year ago

firefox you fuckers get to work

Chris Nicholas's profile picture
Chris Nicholas1 year ago

Very nice! Looking forward to trying out these APIs.

Delba's profile picture
Delba1 year ago

It's pretty cool how far basic usage goes, barely touching the surface of what's possible.

Dmytro's profile picture
Dmytro1 year ago

Okay, I’ll need to rework my website-portfolio soon :)

kant's profile picture
kant1 year ago

Looks good

0xultrainstinct💢's profile picture
0xultrainstinct💢1 year ago

thank you, this looks amazing!!

Neanrakyr's profile picture
Neanrakyr1 year ago

When will you release the NextSchool :D ! ? I love when you teach me how to be better in Next !

Related Videos