Description
glimm adds shader-driven page transitions to React and Next.js apps. When the route changes, or when a state change you choose happens, a WebGL band sweeps across the screen and the new view appears behind it. The package is about 11 KB and has no runtime dependencies. It needs React 18 or later and Next 14 or later as peer dependencies. The WebGL context is created on the first sweep, so the package costs nothing until a transition runs. Transitions can be triggered in three ways that you can mix, and you can choose from presets, easing options, band width and a custom palette. The site also gives you a prompt to hand to a coding agent, which adds glimm to a Next.js root layout. The package is MIT licensed, and version 0.4.1 is current.…
Highlights
- Shader-based WebGL page transitions for React and Next.js
- About 11 KB with no runtime dependencies
- WebGL context created only on the first sweep
- Presets, easing, band width and custom palettes
- MIT licensed
Ratings & Reviews
No ratings yet
Be the first to rate glimm.
People also visit
SSGOI
animated page transition for major ssr frameworks and browsers, including Safari
glimm FAQ
What is glimm?
An npm package that adds shader-driven page transitions to React and Next.js apps.
How do I install it?
Run npm install glimm. Then wrap the children of your root layout in GlimmProvider and render InterceptLinks just inside it, as the site shows.
What versions does it need?
React 18 or later and Next 14 or later, which are listed as peer dependencies.
Does it slow the page down?
The WebGL context is created on the first sweep, so the package costs nothing until a transition runs. It is about 11 KB.
What is the license?
MIT.
What are the best glimm alternatives?
Popular alternatives to glimm include atelier-ui, ssgoi and hazeglow. See all glimm alternatives




