Skip to content

Disney-derived animation principles applied to modal and dialog entrances, exits, and backdrops.

CCM score
50 of 100
Quality grade
Quality grade B, 79 of 100
skills.sh installs
654
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers modal, dialog, popover, and overlay motion, mapping each of Disney's 12 animation principles to a concrete UI behavior
  • Includes timing guidance: backdrop fade 200-250ms, modal enter 250-350ms, modal exit 200ms, and content stagger 30-50ms per item
  • Specifies staged entrances where the container arrives first and content fades in 50-100ms later, with a 300ms shake for errors
  • Provides a CSS modalEnter keyframe example using cubic-bezier(0.16, 1, 0.3, 1) with scale and translate, plus key properties like transform-origin and backdrop-filter

Quality grade

  • Safety25% of the grade100

    The listing is a plain animation guide with no attempts to steer graders, hide actions, or move data off-machine.

  • Tool boundary15% of the grade80

    Declares no allowed-tools in its frontmatter. No scripts: it teaches a procedure. It is a procedure teaching principles and CSS patterns, not a tool running bundled code.

  • Workflow quality25% of the grade50

    Craft grade 50 of 100 for specificity, expertise, examples, economy and scope.

  • Discoverability10% of the grade83

    Name modals-dialogs is lowercase with hyphens. Description of 101 characters. The description says when to use it for modals and overlays but never states when not to use it.

  • Provenance and upkeep15% of the grade75

    Last push 11 months ago. MIT license. Owner account 13 years old.

  • Portability10% of the grade100

    Relative paths only.

Rubric 2026-12.5 · graded December 4, 2026How we grade

Install

$ npx -y skills add dylantarre/animation-principles --skill modals-dialogs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Modal & Dialog Animation Principles

Apply Disney's 12 principles to modals for seamless, non-jarring transitions.

Principles Applied to Modals

1. Squash & Stretch

Modal can scale from 0.9 to 1.0 on enter, creating a subtle expansion feel. Exit reverses. Keep it subtle to maintain professionalism.

2. Anticipation

Trigger element (button) should react before modal appears. Brief scale-down of trigger, then modal emerges from that point.

3. Staging

Backdrop dims (0.5-0.7 opacity) to focus attention on modal. Background content can blur slightly (4-8px). Modal is the star.

4. Straight Ahead & Pose to Pose

Define states: hidden, entering, visible, exiting. Clear keyframes for each. Pose-to-pose ensures predictable, controllable animation.

5. Follow Through & Overlapping Action

Modal container arrives first, content fades in 50-100ms after. Close button can have slight bounce at end. Stagger form fields.

6. Ease In & Ease Out

Enter: ease-out (decelerates in). Exit: ease-in (accelerates out). cubic-bezier(0.16, 1, 0.3, 1) for smooth, bouncy enter.

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
License
MIT
First seen
Jun 3, 2026

Questions

What does the modals-dialogs skill do?

The modals-dialogs skill applies Disney's 12 animation principles to modals, dialogs, popovers and overlay content. It guides smooth entrances and exits, such as a modal scaling from 0.9 to 1.0 while the backdrop dims.

How do I install the modals-dialogs skill?

Run npx -y skills add dylantarre/animation-principles --skill modals-dialogs -y in your project. Once installed, the modals-dialogs skill lets the agent animate modal enter and exit transitions with suggested timings and CSS keyframes.

Where does modals-dialogs stand in the Animation & Motion category?

The modals-dialogs skill sits in the Animation & Motion category on Claude Marketplaces, next to remotion-render, hyperframes-registry and hyperframes-animation. It focuses narrowly on overlay content, with timing values for backdrop fades, modal enters and content stagger.

More from dylantarre/animation-principles

All 144

Similar to Modals Dialogs

More Animation & Motion