Communitygithub.com

astudio · Lottie & Rive

Lottie 및 Rive 애니메이션 통합, 제어 및 최적화 – dotLottie 재생, 세그먼트, 스크롤 기반 및 인터랙티브 Lottie, 런타임 테마, 크기 최적화, Rive 상태 머신, 데이터 바인딩, 다양한 플랫폼 런타임 등을 다룹니다.

astudio · Lottie & Rive란 무엇인가요?

이 스킬은 디자이너가 제작한 벡터 애니메이션(Lottie, Rive)을 여러 플랫폼(웹, React, React Native, iOS, Android, Flutter)에서 효과적으로 통합, 제어 및 최적화하는 방법을 제공합니다. Lottie의 경우 `.lottie` 포맷(dotLottie 런타임)을 우선 사용하여 60-80% 크기 감소와 테마/상태 머신 번들링을 실현하고, `play/pause`, 세그먼트 기반 제어, 스크롤 연동(`setFrame`), 런타임 테마 적용, `@lottiefiles/lottie-interactivity`를 통한 상호작용 등을 지원합니다. Rive의 경우 상태 머신(boolean/number/trigger 입력, 전환, 리스너), 뷰 모델 데이터 바인딩(string/number/color/enum 등), 이벤트 기반 앱 콜백을 통해 데이터 주도형 인터랙티브 애니메이션을 구현합니다. 또한 디자이너를 위한 핸드오프 가이드(After Effects + Bodymovin, Figma Motion, Lottie Creator, Cavalry 내보내기), 성능 최적화(숨겨진 레이어 제거, 마스크/이펙트 최소화, 파일 크기 50-100KB 이하), 접근성(role, aria-label, reduced motion 대응) 등 실무 전반의 모범 사례를 포함합니다. 포맷 선택 기준 – 단순 선형 애니메이션은 Lottie, 상태 기반 인터랙티브는 Rive, 간단한 UI 상태는 CSS/Motion으로 구분합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/whoamnesia/motion-3d/tree/HEAD/skills/lottie-rive

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

astudio · Lottie & Rive은(는) 무엇을 하나요?

역할: Senior Motion Designer & Creative Developer at astudio.one (15년 이상) – 디자이너가 제작한, 선명하고 작으며 인터랙티브한 애니메이션을 제공합니다. 참조: <root>/reference/studio-bar.md; <root>는 이 스킬의 기본 디렉터리 두 단계 위 또는 scripts/motion.cjs를 포함하는 폴더입니다.

포맷 선택

필요 사항선택
재생/일시정지/세그먼트 가능한 디자이너 제작 선형 애니메이션 (아이콘, 일러스트레이션, 온보딩 장면, 빈 상태)Lottie (.lottie, dotLottie 런타임 사용)
입력 또는 앱 데이터에 반응하는 인터랙티브 상태 기반 애니메이션 (상태를 가진 버튼, 캐릭터, 진행 상황, 게임 UI, 데이터 기반 일러스트레이션)Rive (상태 머신 + 데이터 바인딩)
간단한 UI 상태 변경, 호버/프레스, 전환CSS/Motion (astudio-motion:ui-motion) – 파일 불필요
코드로 SVG 애니메이션 가능한 로고/아이콘SVG + GSAP (astudio-motion:svg-motion) – 앱 런타임이 필요할 경우에만 Lottie로 내보내기
비디오형 콘텐츠 (사람, 영상)비디오 (<video>), Lottie 아님

Lottie 워크플로 (references/lottie.md)

  1. .lottie 포맷 우선 사용 (zip, 60-80% 작으며 이미지/테마/상태 머신 번들링) + @lottiefiles/dotlottie-web (canvas + WASM) 또는 @lottiefiles/dotlottie-react; lottie-web은 레거시 SVG 렌더러가 필요한 경우에만 사용.
  2. 제어: play/pause/stop/setSpeed/setMode/setFrame/setSegment, 이벤트 load/complete/frame; 세그먼트 기반

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

whoamnesia/gsap

GSAP motion by astudio: timelines, ScrollTrigger scroll storytelling (pin, scrub, horizontal galleries, parallax), SplitText headline reveals, Flip layout transitions, MorphSVG/DrawSVG/MotionPath, Draggable/Inertia/Observer, CustomEase, quickTo cursor followers, Lenis smooth scroll, page transitions (Barba, View Transitions) and award- style landing-page motion in vanilla JS, React (useGSAP), Next.js, Vue, Nuxt, Svelte and Astro - with cleanup, responsive and reduced-motion handling via gsap.matchMedia. Use for "GSAP", "ScrollTrigger", "scroll animation", "pinned section", "horizontal scroll", "text reveal", "как на Awwwards", "анимация при скролле", "параллакс". All GSAP plugins are free (GSAP 3.13+).

whoamnesia/motion-review

Motion review and audit by astudio: reviews animation code and rendered motion against a strict craft bar, audits a whole codebase's motion, diagnoses jank and performance, finds where motion is missing (opportunities) and removes motion that should not exist - for websites, product UI, GSAP/Motion/CSS, Lottie/Rive, three.js and rendered videos. Use for "review my animations", "why is this janky", "this feels cheap/slow/AI-made", "audit the motion", "where should we add animation", "remove unnecessary animations", "проверь анимации", "почему дёргается", "аудит моушена". Default to flagging; approval is earned. Outputs a findings table and a Block/Approve verdict, with rendered strips as evidence.

whoamnesia/ui-motion

Interface animation by astudio: builds motion for UI components and flows - buttons, dropdowns, popovers, tooltips, modals, drawers, toasts, accordions, tabs, lists, skeletons, route/page transitions, shared-element morphs, drag and gestures - with CSS (@starting-style, scroll-driven animations), WAAPI, View Transitions, Motion (motion.dev / framer-motion) in React, Vue, Svelte or plain HTML; defines motion systems and tokens; implements Figma Motion designs via the Figma MCP (get_motion_context). Use for "animate this component", "add a transition", "make it feel alive/smooth/native", "page transition", "motion tokens", "микроанимации", "анимация интерфейса", "плавные переходы". Decides whether something should animate at all before writing code.

관련 스킬