Split Click Slider
- group .........
- Sliders and carousels
- source ........
- https://ui.aryank.space/components/split-click-slider
- markdown ......
- /lab/split-click-slider.md
- human .........
- /lab/split-click-slider
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
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.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* The frame is the control
There are no arrows. A click is measured against the slider's own midpoint, so the left half goes back and the right half forward, and the thumbnails opt out of that by returning early.
* Both images move, in the same direction
The outgoing picture slides 500px one way while the incoming one arrives from 500px the other. Only moving the new image would read as a wipe; moving both is what gives it depth.
* The plus marks never reset
Rotation accumulates by 90 degrees per change rather than being set from the index, so going back and forth keeps winding them instead of snapping to a canonical angle.