oberconcejo/VS-CODE / .agents/skills/transitions-dev
transitions-dev
VerifiedProduction-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 a transition", "animate the dropdown", "make the modal open smoothly", "swap icon", "page slide", "stagger animation", "open / close transition", "make it animate", "fade between", "success animation", "form error", "shake on invalid", "hover lift", "avatar stack hover", "clear the search", "skeleton loader", "loading shimmer", "shimmer text", "sliding tabs", "segmented control", "tooltip", "reveal text", "tilt card", "3D hover tilt", "cursor glare", "plus to menu", "FAB morph", "accordion", "collapsible", "expand / collapse", "disclosure", "toast", "snackbar", "like button", "heart animation", "learn more arrow", "checkbox", "check animation", "spinning counter", "odometer", "slot machine digits", "toggle", "switch", "thinking states", "AI status line", "agent reasoning", "reasoning stream", "streaming text", "stream words in", "matrix loader", "dot loader", "banner stack", "stacked toasts". Also "motion tokens", "scan for ad-hoc transitions", "replace hardcoded durations with motion tokens", "tokenize my animations", and the commands transitions reveal, transitions review, transitions apply, transitions refine.
_root.css
View on GitHub/* transitions-dev — copy this :root block into your project once.
Every transition snippet reads from these semantic names. */
:root {
/* ── Motion tokens — shared scale ──────────────────────────────
Reference these with var(--…) anywhere in your project. The
transitions below ship literal values so each snippet works on
its own; `transitions refine` maps hardcoded values back to
these tokens. */
/* Durations */
--duration-stagger: 40ms; /* per-item stagger offset */
--duration-micro: 80ms; /* tooltip/path delay, shake segment, large stagger */
--duration-quick: 150ms; /* modal/dropdown close, text swap, tooltip appear */
--duration-fast: 250ms; /* icon swap, dropdown/modal open, tabs sliding, page slide */
--duration-medium: 350ms; /* panel close, toast close */
--duration-slow: 400ms; /* panel open, skeleton content reveal, input clear */
--duration-very-slow: 500ms; /* emphasis moments, badge appear, text reveal, success check */
/* Easings */
--ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1); /* modal/dropdown/panel open + close, page slide, resize, position change */
--ease-in-out: ease-in-out; /* icon swap, text swap, text reveal, skeleton reveal */
--ease-out: ease-out; /* tooltip open / close */
--ease-linear: linear; /* shimmer, skeleton pulse, spinner */
--ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1); /* badge pop open */
--ease-bounce-strong: cubic-bezier(0.34, 3.85, 0.64, 1); /* bouncy hover-out (avatar return) */
/* Distances */
--distance-micro: 4px; /* text swap */
--distance-small: 6px; /* error shake (small segment) */
--distance-base: 8px; /* badge diagonal reveal, page slide, error shake (large segment) */
--distance-medium: 12px; /* text reveal */
--distance-large: 30px; /* check badge appear */
/* Scales */
--scale-large: 0.96; /* modal open / close */
--scale-medium: 0.97; /* dropdown open */
--scale-small: 0.98; /* tooltip open */
--scale-tiny: 0.99; /* dropdown close */
/* Blur */
--blur-small: 2px; /* panel reveal, icon swap, text swap, skeleton reveal, number pop-in */
--blur-medium: 3px; /* page slide, text reveal */
--blur-large: 8px; /* success check open */
/* Card resize */
--resize-dur: 300ms;
--resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Number pop-in */
--digit-dur: 500ms;
--digit-distance: 8px;
--digit-stagger: 70ms;
--digit-blur: 2px;
--digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
--digit-dir-x: 0;
--digit-dir-y: 1;
/* Notification badge */
--badge-slide-dur: 260ms;
--badge-pop-dur: 500ms;
--badge-pop-close-dur: 180ms;
--badge-fade-dur: 400ms;
--badge-fade-close-dur: 180ms;
--badge-blur: 2px;
--badge-offset-x: -8.2px;
--badge-offset-y: 12.4px;
--badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
--badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);
--badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);
/* Text states swap */
--text-swap-dur: 150ms;
--text-swap-translate-y: 4px;
--text-swap-blur: 2px;
--text-swap-ease: ease-in-out;
/* Menu dropdown */
--dropdown-open-dur: 250ms;
--dropdown-close-dur: 150ms;
--dropdown-pre-scale: 0.97;
--dropdown-closing-scale: 0.99;
--dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Modal open / close */
--modal-open-dur: 250ms;
--modal-close-dur: 150ms;
--modal-scale: 0.96;
--modal-scale-close: 0.96;
--modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Panel reveal */
--panel-open-dur: 400ms;
--panel-close-dur: 350ms;
--panel-translate-y: 100px;
--panel-blur: 2px;
--panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Page side-by-side */
--page-slide-dur: 250ms;
--page-fade-dur: 250ms;
--page-slide-distance: 8px;
--page-blur: 3px;
--page-stagger: 0ms;
--page-exit-enabled: 1;
--page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
--page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Icon swap */
--icon-swap-dur: 250ms;
--icon-swap-blur: 2px;
--icon-swap-start-scale: 0.25;
--icon-swap-ease: ease-in-out;
/* Success check */
--check-opacity-dur: 500ms;
--check-rotate-dur: 500ms;
--check-rotate-from: 80deg;
--check-bob-dur: 500ms;
--check-y-amount: 40px;
--check-blur-dur: 500ms;
--check-blur-from: 10px;
--check-path-dur: 500ms;
--check-path-delay: 80ms;
--check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);
--check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);
--check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
--check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);
/* Avatar group hover */
--avatar-lift: -4px;
--avatar-dur: 320ms;
--avatar-scale: 1.05;
--avatar-falloff: 0.45;
--avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);
--avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);
/* Error state shake */
--shake-distance: 6px;
--shake-overshoot: 4px;
--shake-dur-a: 80ms;
--shake-dur-b: 60ms;
--shake-ease: cubic-bezier(0.22, 1, 0.36, 1);
--revert-hold: 3000ms;
--revert-dur: 280ms;
/* Input clear with dissolve */
--clear-dur: 1000ms;
--clear-out-dur: 400ms;
--clear-in-dur: 400ms;
--clear-out-fly: 12px;
--clear-in-fly: 12px;
--clear-out-ease: cubic-bezier(0.22, 1, 0.36, 1);
--clear-in-ease: cubic-bezier(0.22, 1, 0.36, 1);
--clear-blur: 2px;
--glow-delay: 50ms;
--glow-peak-at: 0.15;
--glow-opacity: 0.42;
--glow-spread: 1.5;
/* Skeleton loader and reveal */
--pulse-dur: 1000ms;
--pulse-count: 1;
--pulse-min: 0.5;
--reveal-dur: 400ms;
--reveal-blur: 2px;
--reveal-ease: ease-in-out;
/* Shimmer text */
--shimmer-dur: 2000ms;
--shimmer-base: #7c7c7c;
--shimmer-highlight: #0d0d0d;
--shimmer-band: 400%;
--shimmer-ease: linear;
/* Tabs sliding */
--tabs-dur: 250ms;
--tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
--tabs-text-muted: rgba(15, 15, 15, 0.8);
--tabs-text-active: #0f0f0f;
--tabs-bar-bg: #f1f1f1;
--tabs-pill-bg: #ffffff;
/* Tooltip open/close */
--tt-in-dur: 150ms;
--tt-out-dur: 50ms;
--tt-scale: 0.98;
--tt-delay: 80ms;
--tt-in-ease: ease-out;
--tt-out-ease: ease-out;
--tt-move-dur: 160ms;
--tt-move-ease: cubic-bezier(0.22, 1, 0.36, 1);
--tt-bg: #ffffff;
--tt-fg: #2f2f2f;
/* Texts reveal */
--stagger-dur: 500ms;
--stagger-distance: 12px;
--stagger-stagger: 40ms;
--stagger-blur: 3px;
--stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Card hover tilt */
--tilt-perspective: 1000px;
--tilt-return: 1000ms;
--tilt-return-ease: cubic-bezier(0.22, 1, 0.36, 1);
--tilt-follow: 400ms;
--tilt-follow-ease: cubic-bezier(0.22, 1, 0.36, 1);
--tilt-glare-opacity: 0.32;
--tilt-glare-fade: 300ms;
--tilt-glare-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Plus to menu morph */
--morph-open-dur: 350ms;
--morph-close-dur: 250ms;
--morph-ease: cubic-bezier(0.34, 1.25, 0.64, 1);
--morph-close-ease: cubic-bezier(0.22, 1, 0.36, 1);
--morph-r-closed: 40px;
--morph-r-open: 20px;
--morph-fade-dur: 200ms;
--morph-slide: 40px;
--morph-rotate: 45deg;
--morph-scale: 0.97;
--morph-blur: 2px;
/* Accordion expand */
--acc-expand: 250ms;
--acc-collapse: 250ms;
--acc-chevron: 250ms;
--acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Toast open / close */
--toast-open: 350ms;
--toast-close: 250ms;
--toast-distance: 16px;
--toast-blur: 2px;
--toast-scale: 0.97;
--toast-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Like button */
--like-color: #f40051;
--like-fill: 150ms;
--like-pop: 350ms;
--like-pop-ease: cubic-bezier(0.34, 1.96, 0.64, 1);
--like-particle-dur: 600ms;
--like-particle-dist: 20px;
--like-particle-size: 2.5px;
--like-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Learn more hover */
--learn-shift: 2px;
--learn-spread: 8deg;
--learn-in: 350ms;
--learn-out: 350ms;
--learn-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Checkbox check */
--check-box: 150ms;
--check-draw: 350ms;
--check-delay: 0ms;
--check-uncheck: 150ms;
--check-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Spinning counter */
--reel-dur: 1400ms;
--reel-cell: 30px;
--reel-spin-blur: 3px;
--reel-stagger: 90ms;
--reel-ease: cubic-bezier(0.16, 1, 0.3, 1);
/* Toggle */
--toggle-dur: 350ms;
--toggle-travel: 14.66px;
--toggle-ov1: 1px;
--toggle-ov2: 0px;
--toggle-track: 0ms;
--toggle-ease: cubic-bezier(0.34, 1.35, 0.64, 1);
/* Thinking states */
--think-hold: 2000ms;
--think-swap: 150ms;
--think-gap: 50ms;
--think-distance: 8px;
--think-blur: 2px;
--think-shimmer: 2000ms;
--think-base: #7c7c7c;
--think-highlight: #0d0d0d;
--think-ease: ease-in-out;
/* Reasoning stream */
--reason-hold: 840ms;
--reason-step: 500ms;
--reason-lines: 2;
--reason-fade: 28px;
--reason-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Streaming text */
--stream-gap: 60ms;
--stream-fade: 350ms;
--stream-blur: 1px;
--stream-ease: cubic-bezier(0.22, 1, 0.36, 1);
/* Matrix dot loader */
--matrix-cycle: 1200ms;
--matrix-base: #d9d9d9;
--matrix-active: #85858f;
--matrix-ease: ease-in-out;
/* Banner stacking */
--stack-open: 350ms;
--stack-close: 250ms;
--stack-rise: 60px;
--stack-blur: 2px;
--stack-scale: 0.97;
--stack-peek: 12px;
--stack-spread-gap: 8px;
--stack-depth-scale: 0.06;
--stack-depth-fade: 0.4;
--stack-depth1-blur: 1px;
--stack-depth2-blur: 2px;
--stack-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |