Glimm: Shader Driven Page Transitions Glimm, a new React and Next.js library, enables shader-driven page transitions with a GPU-composited WebGL band under 10 KB. It offers multiple triggers, presets, and customization options for developers to create smooth, performant route changes. glimm glimm is a React and Next.js library for delightful shader-driven page transitions. It sweeps a single WebGL band across your screen during route changes or any state change you select. The new view appears underneath as the band moves. It is GPU-composited, under 10 KB, and has zero performance impact. npm install glimm Zero runtime dependencies. React 18+ and Next 13+ are peer deps. Installation installation You can install glimm using npm, or share the following prompt with a coding agent to set it up for you. npm install glimm Quick start quick-start Getting started takes a single step. Wrap your app in GlimmProvider so glimm is available on every route. From there, you choose how a transition gets triggered using one of the options triggers below. The provider stays idle until it's actually needed: it builds its one WebGL context on the very first sweep, so an app that never transitions costs nothing to set up. Triggers triggers There are three ways to trigger a transition, and you can use any combination across your app. TransitionLink replaces standard links when the destination is known upfront. useTransitionRouter handles programmatic navigation, like redirects after form submissions. Or drop in