A step-by-step guide to building six custom page transitions in Astro using Barba.js and GSAP. Covers the HTML structure needed for Barba.js, lifecycle hooks (before, leave, enter, after), sync mode, and progressively more complex effects: a clip-path reveal, a WebGL noise dissolve with Three.js shaders, an SVG morph animation

26m read timeFrom tympanus.net
Post cover image
Table of contents
What We’re BuildingHTML StructureStyling the LayoutJavaScriptFirst TransitionSecond TransitionThird TransitionFourth TransitionFifth TransitionSixth TransitionWrapping upCredits

Sort: