Morph Slider
A WebGL image slider that transitions between images with liquid displacement and chromatic drift.
Live preview
Interact with the effect here. Drag, hover, and use its controls.
Variation Tweaking
Adjust the options and see the preview update live.
Installation
Install automatically via CLI or manually integrate dependencies and code.
The install command is available with paid source access.
Usage
Import the component and configure visual variants, sizes, and operational states.
import { MorphSlider } from '@/components/interactions/morph-slider' <MorphSlider items={items} transition="ripple" duration={1.1}/>Composition
Compose with icons, form triggers, and layout containers.
const items = [ { image: '/gallery/visual-01.jpg', caption: 'Blue hour' }, { image: '/gallery/visual-02.jpg', caption: 'Daisy' },] <MorphSlider items={items} showControls showIndicators />API Reference
Property matrix, types, defaults, and usage descriptions.
Data Attributes
State-reflecting DOM attributes for custom selector styling.
This component does not expose custom data attributes. Standard HTML data attributes are forwarded to its interactive element.
How It Works
The slider uploads the current and next images as WebGL textures, then animates a shader transition between them. GSAP controls transition timing and easing; pointer drag and navigation buttons change direction.
Accessibility
The slider provides labeled previous and next controls, slide captions, keyboard operability, and a reduced-motion path.
Limitations
Features
Meet the team behind the interaction
Crafted for modern web applications and AI agent workflows.
