Scroll Stack
Two card stacks driven by the scroll. Sticky pile: the cards stick near the top one after the other, each a little lower, and the cards underneath shrink from their top edge as you scroll on. Pinned deck: the element stays on screen for one screen of scroll per card while each card slides up over the previous one, which shrinks and tilts.
Scroll Stack is a Pro widget: it unlocks with a Pro licence in the companion plugin.
Requires: GSAP core, for the smoothing of the pinned deck. The plugin loads it only on pages that use the widget; see How GSAP gets loaded.
Where to find it#
| How | Where |
|---|---|
| As an element | Elements panel › Bricksify › Scroll Stack. A Block inserted with four image cards. |
| As a control group | Scroll Stack (Bricksify) on Block and Div. Pick an effect in Effect. |
Both use the same settings, saved under the same names. See How widgets work for the difference between the two.
Settings#
| Setting | Options and default | What it does |
|---|---|---|
| Effect | Sticky pile (element default), Pinned deck. Control group default: None. | Every direct child is a card. |
| First card sticks at | Sticky pile. Default calc(250px – 5vh). | Distance from the top of the screen. |
| Each next card sticks lower by | Sticky pile. Default 20px. | |
| Shrink per card below / Smallest size | Sticky pile. Default 0.1 / 0.5. | The card under three others ends at 1 – 3 × 0.1 = 0.7. |
| Room after the last card | Sticky pile. Default 100vh. | How long the finished pile holds before the page moves on. |
| Covered card shrinks to / tilts | Pinned deck. Default 0.7 / 5 deg. | |
| Scroll per card | Pinned deck. Default 100 (% of a screen). | |
| Smoothing (s) | Pinned deck. Default 0.5. | 0 locks the cards to the scrollbar. |
| Space around the pinned deck | Pinned deck. Default 12px (32px from 1024px). |
Building the cards#
Sticky pile: centre the cards (Align items: center) and give them a size, for example 500 × 300 with 32px corners. Pinned deck: give the element a width (for example max-width 672px, smaller per breakpoint); it fills 90% of the screen height and its cards fill it, so images should use object-fit cover. With reduced motion the pile still stacks without shrinking and the deck is a plain column.