ease

duration

Infinite Clip Carousel

A seamless infinite image carousel using clip-path transitions with scroll and touch interactions.

Description

Infinite Clip Carousel is a GSAP-powered image slider that uses layered elements and clip-path animations to create smooth directional transitions between images. The system maintains two image layers (front and back) along with overlay duplicates to simulate depth and brightness effects. Based on user interaction (scroll or touch), the animation dynamically reveals the next or previous image using directional clipping.

Installation

npm i gsap @gsap/react

Use

Ideal for fullscreen galleries, portfolio showcases, hero sections, and immersive storytelling interfaces where smooth, gesture-driven navigation enhances user engagement.

Difficulty

Intermediate

PropTypeDescription
easestringDefines the easing curve used for clip-path transitions during image changes.
durationnumberControls how long each image transition takes (in seconds).

Note***

These components are designed for developers who have at least an intermediate understanding of React and GSAP. To fully customize, extend, or modify the behavior, familiarity with both libraries is recommended. They are not specifically intended for absolute beginners.

However, beginners can still use them by simply copying and pasting the code.

© 2026 dropui.design