Skip to content
Agentmart
Submit a tool

angular-animations

Configure Angular animations with triggers, transitions, keyframes, and reusable animation functions.

Skill by oguzhan18

IndexedMIT★ 7
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/oguzhan18-angular-animations

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Configure Angular animations with triggers, transitions, keyframes, and reusable animation functions. Use when working with Angular enter/leave animations, UI transitions, route animations, stagger effects, animation triggers, or when the user asks to animate Angular components.

Use cases: design, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/angular-animations

What's inside

Skill name
angular-animations
Description
Configure Angular animations with triggers, transitions, keyframes, and reusable animation functions. Use when working with Angular enter/leave animations, UI transitions, route animations, stagger effects, animation triggers, or when the user asks to animate Angular components.
License
MIT
Metadata
version: 21.0.0 · generated_at: 2026-02-19 · generated_by: oguzhancart
Instructions
179 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • _INDEX.md · references/discussions/
  • _INDEX.md · references/docs/
  • _INDEX.md · references/issues/
  • _INDEX.md · references/releases/

SKILL.md (first lines)

# @angular/animations

**Version:** Angular 21 (2025)
**Tags:** Animations, UI, Transitions, Motion

**References:** [Animations Guide](https://angular.dev/guide/animations) • [API](https://angular.dev/api/animations) • [npm](https://www.npmjs.com/package/@angular/animations)

## API Changes

This section documents recent version-specific API changes.

- NEW: Modern animation API — Use `animateEnter` and `animateLeave` over deprecated `:enter`/`:leave`

- NEW: CSS-based animations — Angular team recommends CSS for better performance

- NEW: View transitions API — Support for browser View Transitions API

- DEPRECATED: `:enter` and `:leave` — Use `animateEnter` and `animateLeave` instead

## Best Practices

- Enable animations module

```ts
import { provideAnimations } from '@angular/platform-browser/animations';

export const appConfig: ApplicationConfig = {
  providers: [
    provideAnimations()
  ]
};
```

- Use triggers for state-based animations

```ts
import { trigger, state, style, transition, animate } from '@angular/animations';

@Component({
  animations: [
    trigger('fadeInOut', [
      state('hidden', style({ opacity: 0 })),
      state('visible', style({ opacity: 1 })),
      transition('hidden <=> visible', animate(500))
    ])
  ]
})
export class FadeComponent {
  isVisible = signal(false);
}
```

- Use enter/leave animations

```ts
@Component({
  animations: [
    trigger('slideIn', [
      transition(':enter', [
        style({ transform: 'translateX(-100%)' }),
        animate('300ms ease-in', style({ transform: 'translateX(0%)' }))
      ]),
      transition(':leave', [
        animate('300ms ease-out', style({ transform: 'translateX(-100%)' }))
      ])
    ])
  ]
})
export class SlideComponent {}
```

- Use wildcard states for any transition

```ts
trigger('expand', [
  transition('* => expanded', [
    style({ height: '*' }),
    animate('300ms ease-out', style({ height: '200px' }))
  ]),
  transition('expanded => *', [
    animate('300ms ease-in', style({ height: '*' }))
  ])
])
```

- Use query and stagger for list animations

```ts
trigger('listAnimation', [
  transition('* => *', [
    query(':enter', [
      style({ opacity: 0 }),
      stagger(100, [
        animate('300ms', style({ opacity: 1 }))
      ])
    ], { optional: true })
  ])
])
```

- Use animation callbacks

```ts
@Component({
  template: `
    <div [@fade]="state" 
         (@fade.start)="onAnimationStart()"
         (@fade.done)="onAnimationDone()">
    </div>
  `
})
export class AnimComponent {
  onAnimationStart() { console.log('Start'); }
  onAnimationDone() { console.log('Done'); }
}
```

- Use reusable triggers

From oguzhan18/angular-ecosystem-skills, MIT.

More from oguzhan18/angular-ecosystem-skills

Signals

Stars
7
Forks
1
Open issues
0
Last commit (this folder)
Apr 3, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
21.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from oguzhan18

Cite this page

angular-animations skill. Agent Mart. https://agentmart.dev/skills/oguzhan18-angular-animations (last updated 2026-10-24)