Page Transitions in Gatsby with Framer Motion

Wrap your page’s content in this.
Make sure to check if your window is undefined or not before using any window properties, as Gatsby does not have access to window during build time and will throw an error in production.




UI/UX Developer in Austin, TX

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cross-platform Desktop Apps, using Electron.

[Tutorial] Tips for Setting Up Three.js Projects

Dependency Injection in Angular

Use Clarifai’s Workflow API to Predict With Multiple Models

[Action required] Your Trial has Expired — Sat Feb 26 2022

First Blog Post Back

React JSTutorial for Beginners

React Native — from scratch to App Store

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Brad Carter

Brad Carter

UI/UX Developer in Austin, TX

More from Medium

Thoughts on VR, AR and XR

UI and UX are two practices that overlap in the creative world.

Q&A with Matt ‘Mills’ Miller: Ustwo

Branding Between The Ears Sandeep Dayal