angular-animations

Implement Angular 21+ animations with animateEnter and animateLeave APIs.

6|1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/oguzhan18/angular-ecosystem-skills --skill angular-animations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-animations
Source: https://github.com/oguzhan18/angular-ecosystem-skills/tree/main/skills/angular-animations
Command: npx skills add https://github.com/oguzhan18/angular-ecosystem-skills --skill angular-animations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps developers implement smooth, performant, and accessible animations and UI transitions in Angular applications while keeping animations maintainable and aligned with Angular API changes.

Core Features & Use Cases

  • API Guidance: Recommends modern APIs such as animateEnter and animateLeave and documents deprecations like :enter/:leave.
  • Best Practices: Covers performance recommendations, reusable triggers, query/stagger patterns for lists, and reduced-motion accessibility handling.
  • Use Case: Convert legacy enter/leave transitions to the new animateEnter/animateLeave APIs, optimize list animations with stagger for smoother UX, and integrate browser View Transitions where appropriate.

Quick Start

Use the angular-animations skill to refactor a component's :enter/:leave transitions to animateEnter and animateLeave and apply performance and reduced-motion best practices.

Frequently Asked Questions about angular-animations

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

FAQPage Schema
How do I create smooth and performant UI animations in Angular 21+?

To create performant Angular UI animations, apply the animateEnter and animateLeave APIs for component transitions, ensuring smooth UX while adhering to accessibility and reduced-motion best practices.

Why should I use animateEnter and animateLeave instead of :enter and :leave in Angular?

You should use animateEnter and animateLeave instead of :enter and :leave because the latter are deprecated in modern Angular versions, and the new APIs provide better maintainability and alignment with current Angular animation guidelines.

How do I optimize list animations with stagger patterns in Angular?

To optimize Angular list animations with stagger patterns, apply query and stagger functions within your animation triggers to sequence item transitions, creating a smoother UX while maintaining performance.

Does Angular support the browser View Transitions API for UI animations?

Yes, Angular supports the browser View Transitions API, allowing you to integrate native view transitions for smoother UI routing changes while maintaining accessibility through reduced-motion handling.

How do I handle accessibility and reduced-motion preferences in Angular animations?

Handle reduced-motion accessibility in Angular animations by implementing specific triggers that detect user preferences, ensuring UI transitions respect reduced-motion settings and remain fully accessible.

What is the best way to refactor legacy enter and leave transitions in Angular components?

The best way to refactor legacy Angular transitions is to convert existing :enter and :leave declarations to the modern animateEnter and animateLeave APIs, exporting reusable triggers to maintain performance and accessibility standards.