Throw Away Work Slider
- group .........
- Sliders and carousels
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/throw-away-work-slider.mp4
- source ........
- https://ui.aryank.space/components/throw-away-work-slider
- markdown ......
- /lab/throw-away-work-slider.md
- human .........
- /lab/throw-away-work-slider
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A wheel-driven project slider where the outgoing slide is thrown rather than faded. It shrinks to a quarter, rotates thirty degrees and flies two viewports off screen, while the incoming one enters from the opposite edge through a narrow clip path that widens to full frame. Copy is split fresh on every slide so words and lines climb out from behind their own masks. Input is rate limited to one slide per second so a fast scroll cannot stack transitions.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* The exit is a throw, not a fade
The outgoing slide scales to a quarter, rotates thirty degrees and travels two full frames off screen over two seconds, so it reads as discarded rather than dissolved.
* The incoming slide is built 750ms late
Construction is deliberately delayed into the middle of the exit, so the new slide is never on screen alongside the old one at full size and the clip path opening is the first thing you see of it.
* Copy is split per slide, not once
Words and lines are re-split on every freshly built slide, so line breaks are measured against the actual box each time and masks always match the real wrap.
* One slide per second, hard limit
A timestamp gate plus two flags mean a fast wheel or a flick cannot queue transitions, which is what keeps the two second exit from ever overlapping itself.