·state-changes
*

state-changes

當元素就地變換時使用 - 切換開關、展開手風琴、複選框動畫、按鈕狀態或任何無需進入/退出的變換。

33安裝·2熱度·@dylantarre

安裝

$npx skills add https://github.com/dylantarre/animation-principles --skill state-changes

如何安裝 state-changes

透過命令列快速安裝 state-changes AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/dylantarre/animation-principles --skill state-changes
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:dylantarre/animation-principles。

SKILL.md

查看原文

Squash & Stretch: Elements compress before expanding. A toggle switch squashes 5% before sliding.

Anticipation: Wind up before the change. Slight reverse movement (2-3px) before expanding.

Staging: Keep transformations centered on user focus. Don't let state changes distract from the interaction point.

當元素就地變換時使用 - 切換開關、展開手風琴、複選框動畫、按鈕狀態或任何無需進入/退出的變換。 來源:dylantarre/animation-principles。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/dylantarre/animation-principles --skill state-changes
分類
*創意媒體
認證
收錄時間
2026-03-04
更新時間
2026-03-10

Browse more skills from dylantarre/animation-principles

快速解答

什麼是 state-changes?

當元素就地變換時使用 - 切換開關、展開手風琴、複選框動畫、按鈕狀態或任何無需進入/退出的變換。 來源:dylantarre/animation-principles。

如何安裝 state-changes?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dylantarre/animation-principles --skill state-changes 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/dylantarre/animation-principles