mastering-animate-presence
✓Motion의 AnimatePresence 구성 요소를 사용하여 종료 애니메이션을 구현하기 위한 지침입니다. DOM을 떠나는 요소에 애니메이션을 적용하거나 중첩 종료를 조정하거나 현재 상태를 관리할 때 사용합니다. React 종료 애니메이션, 마운트 해제 전환 또는 모션 라이브러리 패턴과 관련된 작업을 트리거합니다.
SKILL.md
When elements leave the DOM, they're gone—no way to animate something that doesn't exist. Motion's AnimatePresence solves this by keeping departing elements mounted long enough to animate out.
| AnimatePresence | Wrapper that enables exit animations | | useIsPresent | Hook to read if component is exiting | | usePresence | Hook for manual exit control with safeToRemove | | propagate | Prop to enable nested exit animations | | mode | Controls timing between enter/exit (sync, wait, popLayout) |
Use useIsPresent when a component needs to know it's exiting:
Motion의 AnimatePresence 구성 요소를 사용하여 종료 애니메이션을 구현하기 위한 지침입니다. DOM을 떠나는 요소에 애니메이션을 적용하거나 중첩 종료를 조정하거나 현재 상태를 관리할 때 사용합니다. React 종료 애니메이션, 마운트 해제 전환 또는 모션 라이브러리 패턴과 관련된 작업을 트리거합니다. 출처: raphaelsalaja/userinterface-wiki.
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill mastering-animate-presence- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
mastering-animate-presence이란?
Motion의 AnimatePresence 구성 요소를 사용하여 종료 애니메이션을 구현하기 위한 지침입니다. DOM을 떠나는 요소에 애니메이션을 적용하거나 중첩 종료를 조정하거나 현재 상태를 관리할 때 사용합니다. React 종료 애니메이션, 마운트 해제 전환 또는 모션 라이브러리 패턴과 관련된 작업을 트리거합니다. 출처: raphaelsalaja/userinterface-wiki.
mastering-animate-presence 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill mastering-animate-presence 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/raphaelsalaja/userinterface-wiki
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01