Animation
コンポーネントの出現・退出エフェクトを統一するアニメーショントークン。すべてNamed型で、トークン名がそのままクラス名(animate-{name})に1:1マッピングされます。
Enter Animations
Checkbox・Radioの出現エフェクト。各トークンが1つのクラス(animate-checkbox-enter)に1:1マッピングされます。
checkbox-enterCheckboxチェックマークの出現アニメーション
animate-checkbox-enterradio-enterRadioラジオドットの出現アニメーション
animate-radio-enterScale Comparison
コンポーネントの形状に合わせたスケール値の使い分け
Checkbox
チェックマークが枠内に収まるサイズ感で、75%の大きめスケールから自然に出現。
animate-checkbox-enterRadio
小さいドットを50%スケールから開始し、「ポップ」感のある印象的な出現を演出。
animate-radio-enterNamed Animations
コンポーネント固有のスタンドアロンアニメーション。各 animate-* クラス1つで完結します。
Modal
2 enter/exit pairs
animate-modal-overlay-enterオーバーレイフェードイン
animate-modal-overlay-exitオーバーレイフェードアウト
animate-modal-content-enterコンテンツ出現(opacity + scale + translateY)
animate-modal-content-exitコンテンツ退出
NavigationMenu
3 enter/exit pairs
animate-fade-inフェードイン
animate-fade-outフェードアウト
animate-nav-viewport-enterビューポート出現(opacity + scale + translateY)
animate-nav-viewport-exitビューポート退出
animate-collapsible-downコラプシブル展開(height)
animate-collapsible-upコラプシブル収縮(height)
Accordion
1 enter/exit pair
animate-accordion-downアコーディオン展開(height)
animate-accordion-upアコーディオン収縮(height)
Drawer
画面端からのスライドイン/アウト
animate-drawer-*-enteranimate-drawer-*-exitTooltip
ツールチップの出現/退出(opacity + translate 4px)
animate-tooltip-*-enteranimate-tooltip-*-exitPopover
ポップオーバーの出現/退出(opacity + translate 4px)
animate-popover-*-enteranimate-popover-*-exitToast
トーストのスライドイン/アウト
animate-toast-slide-*-inanimate-toast-slide-*-outGlobal
無限回転(ローディングスピナー)
animate-spin無限回転(ローディングスピナー)
Progress
ストライプ流れアニメーション(background-position)
animate-progress-stripeストライプ流れアニメーション(background-position)
Spinner
3D Y軸回転(rotateY 0→360deg), ドット不透明度パルス(opacity 0.2→1→0.2), バースケールパルス(scaleY 0.4→1→0.4), 有機的形状変形+3D回転(border-radius morph)
animate-spinner-orbit3D Y軸回転(rotateY 0→360deg)
animate-spinner-dotドット不透明度パルス(opacity 0.2→1→0.2)
animate-spinner-barバースケールパルス(scaleY 0.4→1→0.4)
animate-spinner-morph有機的形状変形+3D回転(border-radius morph)
Skeleton
明暗パルス(opacity 1→0.4→1), シマーグラデーション(translateX -100%→100%)
animate-skeleton-pulse明暗パルス(opacity 1→0.4→1)
animate-skeleton-waveシマーグラデーション(translateX -100%→100%)
Best Practices
推奨
- ✓短いduration(micro=150ms)で素早いフィードバック
- ✓ease-outで自然な減速感を演出
- ✓opacity+scaleの組み合わせで豊かなトランジション
- ✓namedクラスで1:1マッピング
避けるべき
- ✗300ms+のマイクロインタラクション
- ✗ease-inでの出現アニメーション
- ✗ハードコードのkeyframes
- ✗prefers-reduced-motionの無視