컴포넌트

Sticky Stack Cards

스크롤에 따라 카드가 하나씩 상단에 고정되며 그 위로 겹쳐 쌓이는 효과입니다. CSS position:sticky와 JS scale 보간으로 깊이감을 표현합니다.

분류
컴포넌트
난이도
medium
변형
TS-TW

설치

npx shadcn@latest add https://gasan.ai.kr/tools/effect/r/StickyStackCards-TS-TW

Props

이름타입기본값설명
countnumber4쌓을 카드 개수.
classNamestringundefined컨테이너 추가 className.