[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FN46AQFCXTPRPMKBZBAT0":3,"skill-same:01M78FN46AQFCXTPRPMKBZBAT0":101},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M78FN46AQFCXTPRPMKBZBAT0","transitions-dev",null,"Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, or error state shakes. Triggers on \"add a transition\", \"animate the dropdown\", \"make the modal open smoothly\", \"swap icon\", \"page slide\", \"stagger animation\", \"open \u002F close transition\", \"make it animate\", \"tween the size\", \"fade between\", \"smooth open\", \"smooth close\", \"success animation\", \"checkmark animation\", \"confirmation animation\", \"form error\", \"shake on invalid\", \"validation feedback\", \"hover lift\", \"avatar stack hover\", \"chip group hover\".","princepatel04477-web\u002Ftrivoxa-group","princepatel04477-web","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F227740714?v=4","01M788ZAJ2KECD5KXVP55PZXKS","Prince Patel","01M788ZAJTCN8YSD737MRSKC5Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: transitions-dev\ndescription: Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, or error state shakes. Triggers on \"add a transition\", \"animate the dropdown\", \"make the modal open smoothly\", \"swap icon\", \"page slide\", \"stagger animation\", \"open \u002F close transition\", \"make it animate\", \"tween the size\", \"fade between\", \"smooth open\", \"smooth close\", \"success animation\", \"checkmark animation\", \"confirmation animation\", \"form error\", \"shake on invalid\", \"validation feedback\", \"hover lift\", \"avatar stack hover\", \"chip group hover\".\n---\n\n# Transitions.dev\n\nTwelve portable CSS transitions, each namespaced under `t-*` selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a `prefers-reduced-motion` guard.\n\n## Quick reference\n\n| Transition | When to use | Reference |\n| --- | --- | --- |\n| **Card resize** | Tween a container's width or height when its layout state changes. | [01-card-resize.md](.\u002F01-card-resize.md) |\n| **Number pop-in** | Re-enter each digit with a blurred slide when a number updates. | [02-number-pop-in.md](.\u002F02-number-pop-in.md) |\n| **Notification badge** | Slide a small badge onto a trigger and pop the dot. | [03-notification-badge.md](.\u002F03-notification-badge.md) |\n| **Text states swap** | Swap text in place with a blurred up-and-down transition. | [04-text-states-swap.md](.\u002F04-text-states-swap.md) |\n| **Menu dropdown** | Open an origin-aware dropdown that grows from its trigger. | [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) |\n| **Modal open \u002F close** | Scale-up modal dialog with a softer scale-down on close. | [06-modal.md](.\u002F06-modal.md) |\n| **Panel reveal** | Slide a panel into a region with a cross-blur. | [07-panel-reveal.md](.\u002F07-panel-reveal.md) |\n| **Page side-by-side** | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) |\n| **Icon swap** | Cross-fade two icons in the same slot with blur and scale. | [09-icon-swap.md](.\u002F09-icon-swap.md) |\n| **Success check** | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | [10-success-check.md](.\u002F10-success-check.md) |\n| **Avatar group hover** | Distance-falloff lift on a row of items with a bouncy spring on return. | [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) |\n| **Error state shake** | Per-segment cubic-bezier shake with auto-reverting border + message. | [12-error-state-shake.md](.\u002F12-error-state-shake.md) |\n\n## Decision rules\n\nWhen the user asks for a transition, match against the visible UI element first, then the verb:\n\n- **Trigger + small dot floating on top** → notification badge.\n- **Trigger + surface that grows from it** → dropdown (anchored, origin-aware) or modal (centered, no anchor).\n- **Surface that slides into a region of the page** → panel reveal.\n- **Two screens, list ↔ detail or step 1 ↔ step 2** → page side-by-side.\n- **Element changes width or height** → card resize.\n- **Element's text content changes in place** → text states swap.\n- **Two icons in the same slot** → icon swap.\n- **A number updates** → number pop-in.\n- **Confirmation \u002F success \u002F \"done\" moment** (checkmark, payment processed, file uploaded) → success check.\n- **Hovering an item in a horizontal stack** (avatars, chips, segmented buttons, tag pills) → avatar group hover.\n- **Form validation error \u002F \"this is wrong\" feedback** (invalid field, wrong PIN, duplicate name) → error state shake.\n\nIf two transitions could fit, prefer the lower-overhead one (card resize over panel reveal, dropdown over modal, success check over a full modal celebration) unless the design clearly calls for the heavier surface. The success check is animation-only — if you also need to swap from a spinner to the check, pair it with **icon swap**.\n\n## Universal install\n\nDrop this `:root` block into your project **once**. Every transition snippet reads from these semantic names — there are no per-component values to chase down later.\n\n```css\n\u002F* transitions-dev — copy this :root block into your project once.\n   Every transition snippet reads from these semantic names. *\u002F\n:root {\n  \u002F* Card resize *\u002F\n  --resize-dur: 300ms;\n  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Number pop-in *\u002F\n  --digit-dur: 500ms;\n  --digit-distance: 8px;\n  --digit-stagger: 70ms;\n  --digit-blur: 2px;\n  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);\n  --digit-dir-x: 0;\n  --digit-dir-y: 1;\n  \u002F* Notification badge *\u002F\n  --badge-slide-dur: 260ms;\n  --badge-pop-dur: 500ms;\n  --badge-pop-close-dur: 180ms;\n  --badge-fade-dur: 400ms;\n  --badge-fade-close-dur: 180ms;\n  --badge-blur: 2px;\n  --badge-offset-x: -8.2px;\n  --badge-offset-y: 12.4px;\n  --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);\n  --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);\n  \u002F* Text states swap *\u002F\n  --text-swap-dur: 200ms;\n  --text-swap-translate-y: 8px;\n  --text-swap-blur: 2px;\n  --text-swap-ease: ease-out;\n  \u002F* Menu dropdown *\u002F\n  --dropdown-open-dur: 250ms;\n  --dropdown-close-dur: 150ms;\n  --dropdown-pre-scale: 0.97;\n  --dropdown-closing-scale: 0.99;\n  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Modal open \u002F close *\u002F\n  --modal-open-dur: 250ms;\n  --modal-close-dur: 150ms;\n  --modal-scale: 0.96;\n  --modal-scale-close: 0.96;\n  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Panel reveal *\u002F\n  --panel-open-dur: 400ms;\n  --panel-close-dur: 350ms;\n  --panel-translate-y: 100px;\n  --panel-blur: 2px;\n  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Page side-by-side *\u002F\n  --page-slide-dur: 200ms;\n  --page-fade-dur: 200ms;\n  --page-slide-distance: 8px;\n  --page-blur: 3px;\n  --page-stagger: 0ms;\n  --page-exit-enabled: 1;\n  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Icon swap *\u002F\n  --icon-swap-dur: 200ms;\n  --icon-swap-blur: 2px;\n  --icon-swap-start-scale: 0.25;\n  --icon-swap-ease: ease-in-out;\n  \u002F* Success check *\u002F\n  --check-opacity-dur: 550ms;\n  --check-rotate-dur: 550ms;\n  --check-rotate-from: 80deg;\n  --check-bob-dur: 450ms;\n  --check-y-amount: 40px;\n  --check-blur-dur: 500ms;\n  --check-blur-from: 10px;\n  --check-path-dur: 550ms;\n  --check-path-delay: 80ms;\n  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);\n  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Avatar group hover *\u002F\n  --avatar-lift: -4px;\n  --avatar-dur: 320ms;\n  --avatar-scale: 1.05;\n  --avatar-falloff: 0.45;\n  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);\n  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);\n  \u002F* Error state shake *\u002F\n  --shake-distance: 6px;\n  --shake-overshoot: 4px;\n  --shake-dur-a: 80ms;\n  --shake-dur-b: 60ms;\n  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --revert-hold: 3000ms;\n  --revert-dur: 280ms;\n}\n```\n\nThe `--pX-*` source tokens used by the live demo at [transitions.dev](https:\u002F\u002Ftransitions.dev) are intentionally **not** exported here. Tunable values are renamed to semantic names (`--badge-*`, `--dropdown-*`, `--modal-*`, …) so the user owns the design vocabulary.\n\n## Output format\n\nWhen inserting a transition into the user's project:\n\n1. **Add the `:root` block above** to the user's global stylesheet, but only if it isn't already there. If the user already imported the universal install block once, do **not** duplicate it.\n2. **Paste the chosen transition's CSS verbatim** from the relevant reference file. Do not rewrite selectors, do not collapse the transition into shorthand, do not strip `will-change`. The snippets are tuned and tested.\n3. **Wire the documented HTML hooks** — class names (`.t-dropdown`, `.t-modal`, `.t-success-check`, `.t-avatar`, `.t-input`, …) and state attributes (`data-open`, `data-state`, `data-page`, `.is-open`, `.is-closing`, `.is-exit`, `.is-enter-start`, `.is-animating`, `.is-error`, `.is-shaking`).\n4. **Preserve the `@media (prefers-reduced-motion: reduce)` block.** Every snippet ships one. Removing it makes the component fail accessibility audits.\n5. **For transitions that need JS** (dropdown, modal, text swap, number pop-in, page slide, success check, avatar group hover, error state shake), copy the small orchestration snippet from the reference file and adapt the selectors to the user's DOM. Keep the timing reads (`getComputedStyle(...)getPropertyValue(\"--…\")`) so durations stay in sync with the `:root` values.\n\nKeep the diff small: only edit the files needed to introduce the transition. Don't rename the user's existing variables, don't reformat unrelated CSS, don't pull in a motion library.\n\n## Common mistakes to avoid\n\n- **Stripping the close-state class cleanup** on dropdown\u002Fmodal — without the `setTimeout` that removes `.is-closing`, the next open jumps from the closing scale instead of the resting pre-open scale.\n- **Forgetting the reflow** in the text swap, number pop-in, success check replay, and error state shake — `void el.offsetWidth` (or `offsetHeight`) between class\u002Fattribute removal and re-addition is what guarantees the animation replays.\n- **Animating a single container** instead of the inner pieces — for the badge, animate the dot, not the trigger; for page slide, animate the page sections, not the container.\n- **Replacing `transition: …` with `transition: all`** — every snippet enumerates exact properties on purpose so unrelated style changes don't ride in for free.\n- **Hardcoding the success check's `stroke-dasharray`** — the snippet ships `20` as a placeholder. Replace it with `path.getTotalLength()` rounded up by 1 for *your* path, otherwise the stroke pre-reveals or over-draws.\n- **Setting `transition-timing-function` in CSS** for the avatar group hover — it has to be set inline in JS *before* the `--shift` \u002F `--scale-active` writes so the bouncy ease-out only applies on `mouseleave`.\n- **Mixing `.is-error` and `.is-shaking` into one class** for the error state shake — keeping them orthogonal is what allows the shake to replay (remove → reflow → re-add) without flickering the whole error treatment.\n\n## Reference files\n\n- [01-card-resize.md](.\u002F01-card-resize.md) — Card resize\n- [02-number-pop-in.md](.\u002F02-number-pop-in.md) — Number pop-in\n- [03-notification-badge.md](.\u002F03-notification-badge.md) — Notification badge\n- [04-text-states-swap.md](.\u002F04-text-states-swap.md) — Text states swap\n- [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) — Menu dropdown\n- [06-modal.md](.\u002F06-modal.md) — Modal open \u002F close\n- [07-panel-reveal.md](.\u002F07-panel-reveal.md) — Panel reveal\n- [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) — Page side-by-side\n- [09-icon-swap.md](.\u002F09-icon-swap.md) — Icon swap\n- [10-success-check.md](.\u002F10-success-check.md) — Success check\n- [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) — Avatar group hover\n- [12-error-state-shake.md](.\u002F12-error-state-shake.md) — Error state shake\n- [_root.css](.\u002F_root.css) — the universal install block on its own, ready to import directly.\n","# Transitions.dev\n\nTwelve portable CSS transitions, each namespaced under `t-*` selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a `prefers-reduced-motion` guard.\n\n## Quick reference\n\n| Transition | When to use | Reference |\n| --- | --- | --- |\n| **Card resize** | Tween a container's width or height when its layout state changes. | [01-card-resize.md](.\u002F01-card-resize.md) |\n| **Number pop-in** | Re-enter each digit with a blurred slide when a number updates. | [02-number-pop-in.md](.\u002F02-number-pop-in.md) |\n| **Notification badge** | Slide a small badge onto a trigger and pop the dot. | [03-notification-badge.md](.\u002F03-notification-badge.md) |\n| **Text states swap** | Swap text in place with a blurred up-and-down transition. | [04-text-states-swap.md](.\u002F04-text-states-swap.md) |\n| **Menu dropdown** | Open an origin-aware dropdown that grows from its trigger. | [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) |\n| **Modal open \u002F close** | Scale-up modal dialog with a softer scale-down on close. | [06-modal.md](.\u002F06-modal.md) |\n| **Panel reveal** | Slide a panel into a region with a cross-blur. | [07-panel-reveal.md](.\u002F07-panel-reveal.md) |\n| **Page side-by-side** | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) |\n| **Icon swap** | Cross-fade two icons in the same slot with blur and scale. | [09-icon-swap.md](.\u002F09-icon-swap.md) |\n| **Success check** | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | [10-success-check.md](.\u002F10-success-check.md) |\n| **Avatar group hover** | Distance-falloff lift on a row of items with a bouncy spring on return. | [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) |\n| **Error state shake** | Per-segment cubic-bezier shake with auto-reverting border + message. | [12-error-state-shake.md](.\u002F12-error-state-shake.md) |\n\n## Decision rules\n\nWhen the user asks for a transition, match against the visible UI element first, then the verb:\n\n- **Trigger + small dot floating on top** → notification badge.\n- **Trigger + surface that grows from it** → dropdown (anchored, origin-aware) or modal (centered, no anchor).\n- **Surface that slides into a region of the page** → panel reveal.\n- **Two screens, list ↔ detail or step 1 ↔ step 2** → page side-by-side.\n- **Element changes width or height** → card resize.\n- **Element's text content changes in place** → text states swap.\n- **Two icons in the same slot** → icon swap.\n- **A number updates** → number pop-in.\n- **Confirmation \u002F success \u002F \"done\" moment** (checkmark, payment processed, file uploaded) → success check.\n- **Hovering an item in a horizontal stack** (avatars, chips, segmented buttons, tag pills) → avatar group hover.\n- **Form validation error \u002F \"this is wrong\" feedback** (invalid field, wrong PIN, duplicate name) → error state shake.\n\nIf two transitions could fit, prefer the lower-overhead one (card resize over panel reveal, dropdown over modal, success check over a full modal celebration) unless the design clearly calls for the heavier surface. The success check is animation-only — if you also need to swap from a spinner to the check, pair it with **icon swap**.\n\n## Universal install\n\nDrop this `:root` block into your project **once**. Every transition snippet reads from these semantic names — there are no per-component values to chase down later.\n\n```css\n\u002F* transitions-dev — copy this :root block into your project once.\n   Every transition snippet reads from these semantic names. *\u002F\n:root {\n  \u002F* Card resize *\u002F\n  --resize-dur: 300ms;\n  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Number pop-in *\u002F\n  --digit-dur: 500ms;\n  --digit-distance: 8px;\n  --digit-stagger: 70ms;\n  --digit-blur: 2px;\n  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);\n  --digit-dir-x: 0;\n  --digit-dir-y: 1;\n  \u002F* Notification badge *\u002F\n  --badge-slide-dur: 260ms;\n  --badge-pop-dur: 500ms;\n  --badge-pop-close-dur: 180ms;\n  --badge-fade-dur: 400ms;\n  --badge-fade-close-dur: 180ms;\n  --badge-blur: 2px;\n  --badge-offset-x: -8.2px;\n  --badge-offset-y: 12.4px;\n  --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);\n  --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);\n  \u002F* Text states swap *\u002F\n  --text-swap-dur: 200ms;\n  --text-swap-translate-y: 8px;\n  --text-swap-blur: 2px;\n  --text-swap-ease: ease-out;\n  \u002F* Menu dropdown *\u002F\n  --dropdown-open-dur: 250ms;\n  --dropdown-close-dur: 150ms;\n  --dropdown-pre-scale: 0.97;\n  --dropdown-closing-scale: 0.99;\n  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Modal open \u002F close *\u002F\n  --modal-open-dur: 250ms;\n  --modal-close-dur: 150ms;\n  --modal-scale: 0.96;\n  --modal-scale-close: 0.96;\n  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Panel reveal *\u002F\n  --panel-open-dur: 400ms;\n  --panel-close-dur: 350ms;\n  --panel-translate-y: 100px;\n  --panel-blur: 2px;\n  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Page side-by-side *\u002F\n  --page-slide-dur: 200ms;\n  --page-fade-dur: 200ms;\n  --page-slide-distance: 8px;\n  --page-blur: 3px;\n  --page-stagger: 0ms;\n  --page-exit-enabled: 1;\n  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Icon swap *\u002F\n  --icon-swap-dur: 200ms;\n  --icon-swap-blur: 2px;\n  --icon-swap-start-scale: 0.25;\n  --icon-swap-ease: ease-in-out;\n  \u002F* Success check *\u002F\n  --check-opacity-dur: 550ms;\n  --check-rotate-dur: 550ms;\n  --check-rotate-from: 80deg;\n  --check-bob-dur: 450ms;\n  --check-y-amount: 40px;\n  --check-blur-dur: 500ms;\n  --check-blur-from: 10px;\n  --check-path-dur: 550ms;\n  --check-path-delay: 80ms;\n  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);\n  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Avatar group hover *\u002F\n  --avatar-lift: -4px;\n  --avatar-dur: 320ms;\n  --avatar-scale: 1.05;\n  --avatar-falloff: 0.45;\n  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);\n  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);\n  \u002F* Error state shake *\u002F\n  --shake-distance: 6px;\n  --shake-overshoot: 4px;\n  --shake-dur-a: 80ms;\n  --shake-dur-b: 60ms;\n  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --revert-hold: 3000ms;\n  --revert-dur: 280ms;\n}\n```\n\nThe `--pX-*` source tokens used by the live demo at [transitions.dev](https:\u002F\u002Ftransitions.dev) are intentionally **not** exported here. Tunable values are renamed to semantic names (`--badge-*`, `--dropdown-*`, `--modal-*`, …) so the user owns the design vocabulary.\n\n## Output format\n\nWhen inserting a transition into the user's project:\n\n1. **Add the `:root` block above** to the user's global stylesheet, but only if it isn't already there. If the user already imported the universal install block once, do **not** duplicate it.\n2. **Paste the chosen transition's CSS verbatim** from the relevant reference file. Do not rewrite selectors, do not collapse the transition into shorthand, do not strip `will-change`. The snippets are tuned and tested.\n3. **Wire the documented HTML hooks** — class names (`.t-dropdown`, `.t-modal`, `.t-success-check`, `.t-avatar`, `.t-input`, …) and state attributes (`data-open`, `data-state`, `data-page`, `.is-open`, `.is-closing`, `.is-exit`, `.is-enter-start`, `.is-animating`, `.is-error`, `.is-shaking`).\n4. **Preserve the `@media (prefers-reduced-motion: reduce)` block.** Every snippet ships one. Removing it makes the component fail accessibility audits.\n5. **For transitions that need JS** (dropdown, modal, text swap, number pop-in, page slide, success check, avatar group hover, error state shake), copy the small orchestration snippet from the reference file and adapt the selectors to the user's DOM. Keep the timing reads (`getComputedStyle(...)getPropertyValue(\"--…\")`) so durations stay in sync with the `:root` values.\n\nKeep the diff small: only edit the files needed to introduce the transition. Don't rename the user's existing variables, don't reformat unrelated CSS, don't pull in a motion library.\n\n## Common mistakes to avoid\n\n- **Stripping the close-state class cleanup** on dropdown\u002Fmodal — without the `setTimeout` that removes `.is-closing`, the next open jumps from the closing scale instead of the resting pre-open scale.\n- **Forgetting the reflow** in the text swap, number pop-in, success check replay, and error state shake — `void el.offsetWidth` (or `offsetHeight`) between class\u002Fattribute removal and re-addition is what guarantees the animation replays.\n- **Animating a single container** instead of the inner pieces — for the badge, animate the dot, not the trigger; for page slide, animate the page sections, not the container.\n- **Replacing `transition: …` with `transition: all`** — every snippet enumerates exact properties on purpose so unrelated style changes don't ride in for free.\n- **Hardcoding the success check's `stroke-dasharray`** — the snippet ships `20` as a placeholder. Replace it with `path.getTotalLength()` rounded up by 1 for *your* path, otherwise the stroke pre-reveals or over-draws.\n- **Setting `transition-timing-function` in CSS** for the avatar group hover — it has to be set inline in JS *before* the `--shift` \u002F `--scale-active` writes so the bouncy ease-out only applies on `mouseleave`.\n- **Mixing `.is-error` and `.is-shaking` into one class** for the error state shake — keeping them orthogonal is what allows the shake to replay (remove → reflow → re-add) without flickering the whole error treatment.\n\n## Reference files\n\n- [01-card-resize.md](.\u002F01-card-resize.md) — Card resize\n- [02-number-pop-in.md](.\u002F02-number-pop-in.md) — Number pop-in\n- [03-notification-badge.md](.\u002F03-notification-badge.md) — Notification badge\n- [04-text-states-swap.md](.\u002F04-text-states-swap.md) — Text states swap\n- [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) — Menu dropdown\n- [06-modal.md](.\u002F06-modal.md) — Modal open \u002F close\n- [07-panel-reveal.md](.\u002F07-panel-reveal.md) — Panel reveal\n- [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) — Page side-by-side\n- [09-icon-swap.md](.\u002F09-icon-swap.md) — Icon swap\n- [10-success-check.md](.\u002F10-success-check.md) — Success check\n- [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) — Avatar group hover\n- [12-error-state-shake.md](.\u002F12-error-state-shake.md) — Error state shake\n- [_root.css](.\u002F_root.css) — the universal install block on its own, ready to import directly.\n",{"name":5,"description":7},"master","877653a671c51fae6476bd9f0d34ee6c408d68b9",".github\u002Fskills\u002Ftransitions-dev","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group","https:\u002F\u002Ftrivoxa-group.vercel.app","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web","2026-08-01 17:29:31",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add princepatel04477-web\u002Ftrivoxa-group --skill transitions-dev",{"tool":37,"command":38},"bunx","bunx skills add princepatel04477-web\u002Ftrivoxa-group --skill transitions-dev",{"tool":40,"command":41},"pnpm","pnpm dlx skills add princepatel04477-web\u002Ftrivoxa-group --skill transitions-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002FSKILL.md",true,[45,51,57,61,65,69,73,77,81,85,89,93,97],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"_root.css","OTHER","其他",2956,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F_root.css",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"01-card-resize.md","REFERENCE","参考文档",1658,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F01-card-resize.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"02-number-pop-in.md",3747,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F02-number-pop-in.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"03-notification-badge.md",3974,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F03-notification-badge.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"04-text-states-swap.md",3085,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F04-text-states-swap.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"05-menu-dropdown.md",3506,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F05-menu-dropdown.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"06-modal.md",2814,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F06-modal.md",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"07-panel-reveal.md",2742,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F07-panel-reveal.md",{"path":82,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":83,"sourceHtmlUrl":84},"08-page-side-by-side.md",3342,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F08-page-side-by-side.md",{"path":86,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":87,"sourceHtmlUrl":88},"09-icon-swap.md",2415,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F09-icon-swap.md",{"path":90,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":91,"sourceHtmlUrl":92},"10-success-check.md",7122,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F10-success-check.md",{"path":94,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":95,"sourceHtmlUrl":96},"11-avatar-group-hover.md",7374,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F11-avatar-group-hover.md",{"path":98,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":99,"sourceHtmlUrl":100},"12-error-state-shake.md",8543,"https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Ftransitions-dev\u002F12-error-state-shake.md",[102,109,116,123,130,137],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M78G4Z5RFJ72G536XYPC77PG","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M78G4WQMHRST36KDP7AV3NR3","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M78G4T37F4SPS7M4KT0A8JJB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M78G4QAJMF71KD1G38MNDQYK","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M78G4MS3WE96MH5P561KFY95","zipai-optimizer","Adaptive token optimizer: intelligent filtering, surgical output, ambiguity-first, context-window-aware, VCS-aware, MCP-aware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzipai-optimizer\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M78G4GZ0T47C6929V9CVH1AK","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[]]