애니메이션

Swipe Cards

포개진 카드 스택을 포인터 드래그로 좌우 스와이프해 넘깁니다. 임계치를 넘으면 카드가 날아가고, 미달이면 복귀합니다. 드래그가 어려운 사용자를 위한 좌/우 버튼도 제공합니다.

분류
애니메이션
난이도
hard
변형
TS-TW

설치

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

Props

이름타입기본값설명
countnumber4스택에 쌓을 카드 개수.
classNamestringundefined루트 컨테이너에 적용할 추가 클래스명.