transitions-dev
できること
このスキルは、AIに一般的なUIの部品のためのコピーして使えるCSSアニメーションを与えます。フレームワークなしで洗練された動きがほしいWeb開発者のためのものです。
使う場面
- ✓モーダル、ドロップダウン、ツールチップ、アコーディオンを作り、そのアニメーションをしたいとき。
- ✓数字、テキスト、アイコンの変化を滑らかにアニメーションさせる必要があるとき。
- ✓ページやパネルのトランジションで、視覚効果の軽減設定を尊重したいとき。
スキルのリンク
https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-dev/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“既製のCSSトランジションを使って、サイトにモーダルの滑らかな開閉アニメーションを追加してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、合うトランジションを選び、CSSを追加して、必要なHTMLのフックをつなぎます。どのトランジションにも、視覚効果の軽減設定に対応するガードが入っています。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Transitions.dev
Thirty-two 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.
Quick reference
| Transition | When to use | Reference |
|---|---|---|
| Card resize | Tween a container's width or height when its layout state changes. | 01-card-resize.md |
| Number pop-in | Re-enter each digit with a blurred slide when a number updates. | 02-number-pop-in.md |
| Notification badge | Slide a small badge onto a trigger and pop the dot. | 03-notification-badge.md |
| Text states swap | Swap text in place with a blurred up-and-down transition. | 04-text-states-swap.md |
| Menu dropdown | Open an origin-aware dropdown that grows from its trigger. | 05-menu-dropdown.md |
| Modal open / close | Scale-up modal dialog with a softer scale-down on close. | 06-modal.md |
| Panel reveal | Slide a panel into a region with a cross-blur. | 07-panel-reveal.md |
| Page side-by-side | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | 08-page-side-by-side.md |
| Icon swap | Cross-fade two icons in the same slot with blur and scale. | 09-icon-swap.md |
| Success check | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | 10-success-check.md |
| Avatar group hover | Distance-falloff lift on a row of items with a bouncy spring on return. | 11-avatar-group-hover.md |
| Error state shake | Per-segment cubic-bezier shake with auto-reverting border + message. | 12-error-state-shake.md |
| Input clear with dissolve | Fly-out + per-word streak when a text field is cleared. | 13-input-clear-dissolve.md |
| Skeleton loader and reveal | Pulse a placeholder, then cross-fade + cross-blur to the loaded content. | 14-skeleton-reveal.md |
| Shimmer text | Sweep a highlight band across muted text on a loop (pure CSS). | 15-shimmer-text.md |
| Tabs sliding | Slide the active pill between tabs in a segmented control. | 16-tabs-sliding.md |
| Tooltip open/close | Delayed fade+scale in, instant out, travels between triggers. | 17-tooltip.md |
| Texts reveal | Staggered blurred rise for stacked text lines, quiet fade out. | 18-texts-reveal.md |
| Card hover tilt | Tilt a card in 3D toward the pointer with a cursor-tracked glare. | 19-card-tilt.md |
| Plus to menu morph | Morph a circular trigger into the menu / panel it opens. | 20-plus-menu-morph.md |
| Accordion expand | Grow / shrink a panel via grid-rows with a chevron flip. | 21-accordion.md |
| Toast open / close | Rise a toast from below with fade + cross-blur, slower in than out. | 22-toast.md |
| Like button | Fill a heart with a pop + particle burst on like. | 23-like-button.md |
| Learn more hover | Slide the chevron and spread its arms into an arrow on hover. | 24-learn-more-hover.md |
| Checkbox check | Fill the box, then stroke-draw the checkmark. | 25-checkbox-check.md |
| Spinning counter | Spin slot-machine digit reels with vertical motion blur. | 26-spinning-counter.md |
| Toggle | Travel the switch thumb with a double-bounce overshoot. | 27-toggle.md |
| Thinking states | Shimmer a status line while it holds, then swap it to the next state. | 28-thinking-states.md |
| Reasoning stream | Step an agent-reasoning transcript up two lines at a time on a loop. | 29-reasoning-stream.md |
| Streaming text | Resolve streamed words one by one through a soft cross-blur. | 30-streaming-text.md |
| Matrix dot loader | Pulse a 4×4 dot matrix in scan / twinkle / orb |
よくある質問
JavaScriptのフレームワークが必要ですか?
いいえ。トランジションはフレームワークに依存しません。
視覚効果の軽減設定に対応していますか?
はい。どのスニペットにもprefers-reduced-motionのガードが含まれています。
トランジションは何個ありますか?
このスキルには、移植しやすい32個のトランジションがあります。
詳細
作者による元の説明
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, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, card hover tilt, plus-to-menu morph, accordions, toasts, like buttons, learn-more hovers, checkbox checks, spinning counters, toggles, AI thinking states, reasoning streams, streaming text, matrix dot loaders, or banner stacking. Triggers on "add
人気
- GitHubのスター
- 6.0k
- ランキング
- #14455
- ライセンス
- —
- 更新日
- 2026/10/29
コメント
- …
このリポジトリの他のスキル
transitions-agent
6.0kウェブサイトのコードを調べて、UIの動きが不足していたり不揃いだったりする箇所を見つけ、実績のあるtransitions.devのレシピで直すようエージェントを支援します。
refine-live
6.0ktransitions.devのTimeline Inspectorからの Refine の依頼に、チャット内のローカルのリレーをポーリングして答えるよう、エージェントを支援します。
transitions-polish
6.0kWebアプリの既存の動きを調整し、長さ、距離、イージング、ぼかしを一つの統一されたデザインの目盛りに合わせるよう、エージェントを支援します。
transitions-ui-generation
6.0kUI、見出し、画像が、本物の内容が現れる前にドットで描かれていくAI生成のような表現を追加するよう、エージェントを支援します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。