Shader Reveal Transition
A shared WebGL transition engine with eight shader-driven reveal variants for frame-level state changes.
Installation
npx smoothui-cli add shader-reveal-transitionFeatures
- Persistent WebGL transition wrapper triggered by a
transitionKey - Eight built-in shader variants:
noise,zoom,circle,wipe,luma,planetary,stripes,push - Preserves semantic React content and swaps at the shader midpoint
- Accessible: honors
prefers-reduced-motionand firesonRest
Usage guidance
Use it for meaningful product state changes where a shader-led transition should feel intentional, not decorative. Pick a variant that matches the moment — for example circle for a focal reveal, or stripes for a sharper, more mechanical cut. The eight single-purpose transition components (ShaderRevealCircleTransition, ShaderRevealNoiseTransition, etc.) wrap this same engine with a fixed variant if you don't need to switch variants at runtime.
Accessibility
When reduced motion is preferred, content swaps immediately and onRest still fires.
Props
Created by
Powered by
Animated React components with smooth Motion animations. Drop-in shadcn/ui compatible.
© 2026 SmoothUI. Built by Eduardo Calvo.