PRO

Split Click Slider

The whole frame is the control: clicking its left half goes back, the right half goes forward. Each change stacks a new full-bleed layer on top and wipes it open from the edge you came from, while the picture inside both the old and the new layer slides five hundred pixels in that same direction, so the two images parallax against each other instead of one simply covering the other. The counter and title are single strips stepped by exactly one row, and the two plus marks accumulate a quarter turn per change so they keep winding rather than resetting. Layers past the slide count are dropped.

Component

The Revival Ensemble

Above The Canvas

Harmony in Every Note

Redefining Imagination

From Earth to Expression

1

2

3

4

5

5

+

+

Install
npx shadcn@latest add https://ui.aryank.space/r/split-click-slider.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
slidesSplitClickSlide[]5 BLANK slidesTitle and image. Drives the layers, the title strip, the counter, and the thumbnails.
counterStep / titleStepnumber20 / 60Both strips step by exactly one row, so these must match the CSS line heights.
Customize
navLinkstext

Links centred at the top.

counterSteptext

Row height of the counter strip, in px.

Dependencies
gsap