transitions-dev

Implements CSS UI transitions with tunable variables and JavaScript orchestration snippets.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/singhaganesh/Urban-assist --skill transitions-dev-singhaganesh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transitions-dev
Source: https://github.com/singhaganesh/Urban-assist/tree/main/.cursor/skills/transitions-dev
Command: npx skills add https://github.com/singhaganesh/Urban-assist --skill transitions-dev-singhaganesh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Hand-tuning micro-interactions like dropdowns, modals, error shakes, and skeleton reveals is slow and inconsistent; this Skill provides ready-made, production-tuned CSS transition recipes with matching HTML and JavaScript wiring. ## Core Features & Use Cases - Ready-made transition recipes: Covers card resize, number pop-in, notification badges, text swaps, dropdowns, modals, panel reveals, page slides, icon swaps, success checks, avatar hover springs, error shakes, input clear dissolve, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, and 3D card tilt. - Tunable design tokens: Every transition reads from semantic CSS custom properties (durations, easings, distances, blurs) so one :root block themes the whole set. - Accessibility built in: Each snippet ships with a required prefers-reduced-motion guard that disables animation for users who request less motion. - Use Case: A developer building a settings page needs a dropdown that grows from its trigger, a tooltip with delayed appear, and a success check after saving — they copy three snippets, drop the :root variables into their global stylesheet, and toggle the documented classes from their existing state logic. ## Quick Start Ask the AI to add the menu dropdown transition from the transitions-dev skill to your component, including the :root variables and the open/close JavaScript wiring.

Frequently Asked Questions about transitions-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a dropdown open/close animation in CSS?

Apply the .t-dropdown class with a data-origin attribute for transform-origin, then toggle .is-open to show and swap to .is-closing on close. The CSS scales from --dropdown-pre-scale to 1 with opacity, and JS removes .is-closing after --dropdown-close-dur.

How do I animate a success checkmark with SVG stroke draw?

Wrap your SVG in .t-success-check and set data-state="in" to run fade, rotate, blur, Y-bob, and stroke-draw animations in parallel. Set stroke-dasharray to your path's length measured with path.getTotalLength(), rounding up by 1px.

Do these CSS transitions support reduced motion accessibility?

Yes, every snippet includes a required @media (prefers-reduced-motion: reduce) guard that disables transitions and animations. Keep this block when copying the CSS so users who request less motion at the OS level get static states.

Can I use these transitions with React or Tailwind?

The snippets are framework-agnostic vanilla CSS and JS, and the avatar group hover includes a React component example. You keep your own styling (Tailwind or otherwise) for sizing and colors; the snippets only own the transition behavior.

Why does my shake animation not replay when triggered twice?

CSS animations do not restart when re-adding the same class in one tick. Remove .is-shaking, force a reflow with void el.offsetWidth, then re-add the class so the keyframes restart from a clean baseline.

When should I not use the input clear dissolve transition?

Avoid it when you cannot run per-frame JavaScript, since the per-word glow streak envelope cannot be expressed as static @keyframes. For simple clears, a plain text swap or fade transition is sufficient.