Skill library

Agent skill Web motion

Transitions Dev

Design, implement or review motion on the web.

  • Animation
  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add jakubantalik/transitions-dev --skill transitions-dev --agent claude-code --yes

Check this file in your project.claude/skills/transitions-dev/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add jakubantalik/transitions-dev --skill transitions-dev

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An existing accessible disclosure or menu and the installed Skill’s _root.css and 05-menu-dropdown.md.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Publisher
Jakub Antalik
Control points
.t-dropdown · data-origin · .is-open · .is-closing
Result
A dropdown with distinct open/close timing and a working immediate-motion mode.
Skill name
transitions-dev

Common pitfall

Avoid this prompt

Dismiss the menu using only opacity and pointer-events.

Invisible controls can still receive keyboard focus unless the widget also changes its interactive state.

Use these steps

  1. Inspect source and behavior
  2. Apply the documented technique
  3. Verify the original interaction

Project walkthrough

Apply the shipped origin-aware CSS dropdown recipe and verify keyboard and close-state behavior.

Apply the shipped origin-aware CSS dropdown recipe and verify keyboard and close-state behavior.

  1. Inspect source and behavior

    Inspect source and behavior

    Prompt · Step 1
    Use Transitions.dev on [my actions menu]. Open the installed _root.css and 05-menu-dropdown.md. Find how the trigger currently opens and closes the menu, where focus returns, which corner anchors it, and how closed items leave the keyboard order.
  2. Apply the documented technique

    Apply the documented technique

    Prompt · Step 2
    Apply the copied recipe with .t-dropdown and the correct data-origin, for example top-right. Preserve the 250ms open and 150ms close starting values from the recipe. Use is-open and is-closing with cleanup on completion or a bounded fallback, and cancel stale close cleanup on reopen. Preserve keyboard semantics and make closing content inert. Keep the reduced-motion guard.
  3. Verify the original interaction

    The dropdown grows from its trigger corner and a rapid reopen never leaves the content disabled.

    • The dropdown grows from its trigger corner and a rapid reopen never leaves the content disabled.
    Prompt · Step 3
    From the keyboard open the menu, close with Escape, and reopen during the 150ms exit. Check computed transform-origin, focus return, and that closed items are unreachable. Emulate reduced motion and verify menu state and interactivity switch immediately.

Implementation lookup

Find the documented inputs and verification target for this walkthrough.

Check the control pointsInputs
Command or reference
.t-dropdown · data-origin · .is-open · .is-closing
Examples
The dropdown grows from its trigger corner and a rapid reopen never leaves the content disabled.

FAQ

Does the CSS recipe implement keyboard navigation?

It supplies the animation and selectors. Use your existing menu or disclosure behavior for keyboard input, focus, and interactive state.

Where are the instructions?

Open the installed SKILL.md and following references for the selected technique. The publisher link points to the revision verified for this handbook.