# Story Reel Viewer

**Group:** Menus and navigation  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/story-reel-viewer.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/story-reel-viewer.mp4)  
**Source:** [https://ui.aryank.space/components/story-reel-viewer](https://ui.aryank.space/components/story-reel-viewer)  
**Human:** https://blankinterfaces.com/lab/story-reel-viewer

---

## What it is

A stories player where the transition is a counter-scale rather than a slide. The outgoing photograph scales to two and rotates twenty five degrees away while the incoming one starts at scale two and the opposite rotation and settles to rest, so the two images pass through each other in depth. The new frame's container is also clip-path wiped in from the edge you are travelling toward, giving two independent reveals on one change. Text does not cross-fade: a fresh node is appended, the old one pushed out by exactly one line height, and any node beyond the newest two pruned so the DOM cannot grow. Skipping backwards empties the progress bar from the right rather than the left.

## Behaviour

### The images pass through each other

Outgoing goes to scale 2 rotating one way, incoming comes from scale 2 rotating the other. They cross in depth rather than one sliding over the other, and the clip-path wipe on the container is a second, independent reveal on the same change.

### Text swaps by append and prune

A new line is appended and the old pushed out by exactly its own height, then anything beyond the newest two nodes is removed. Cross-fading in place would blur mid-transition; this keeps every glyph sharp.

### Going back empties the bar from the right

resetIndexHighlight sets width to 0% and scales from the right origin when reversing, so a skipped-back story drains the way it filled rather than snapping empty.

---

[View all content](https://blankinterfaces.com/sitemap.md)
