Liquid Transition
v1.0.0FreeInteractionScrollReduced MotionTailwind
A full-screen scroll- and swipe-driven page transition: a liquid S-curve wave curtain sweeps across the screen, swaps the content behind the cover, then peels away to reveal the next screen. Directional per step, boundary-locked (no looping), wheel and touch driven. Dependency-free.
Liquid Transition
Installation
npx vectorvesper add liquid-transitionRun npx vectorvesper init once first to set up your project.
Usage
Import
Usage
Client-only component — disable SSR
This component requires browser APIs and must be rendered client-side only.
This component respects
prefers-reduced-motion and provides a graceful fallback.Tailwind CSS must be configured in your project for styles to apply correctly.