Scroll

Sticky stack

Cards pin one after another and pile up; covered cards shrink and dim beneath the next.

Paste it into ChatGPT, Claude, Cursor or v0.
shrink per level0.06

Usage

import { StickyStack } from '@vizzele/react';

<StickyStack>
  {features.map((f) => <article key={f.id} className="vz-card">…</article>)}
</StickyStack>

Props

PropTypeDefaultDescription
scalenumber0.06Shrink per covered level.
--vz-stack-top / -step / -gapCSS length—Pin offset, per-card step, spacing.
containerHTMLElement | WindowwindowScroll root.

Accessibility

  • Pure position: sticky underneath — no scroll hijacking.