Angular interactive animation with ExodeUI
For Angular interactive animation that a designer builds, install exodeui-angular, import the standalone ExodeUICanvasComponent and register the engine with ExodeUIService. The engine loop runs outside NgZone, so frame updates don't trigger change detection. For simple state-to-state transitions on your own elements, Angular's built-in animations package may be all you need.
Angular Runtime · Updated November 2026
npm install exodeui-angularGetting Started
The Angular runtime runs the animation engine outside Angular's NgZone, so animation frames don't trigger change detection.
HTML Template
<exodeui-canvas
[artboard]="artboardData"
fit="Contain"
[interactive]="true"
(ready)="exoService.register($event)"
(trigger)="onTrigger($event)"
(navigation)="onNavigation($event)"
></exodeui-canvas>Component Logic
import { Component, inject } from '@angular/core';
import { ExodeUICanvasComponent, ExodeUIService } from 'exodeui-angular';
@Component({
selector: 'app-root',
standalone: true,
imports: [ExodeUICanvasComponent],
templateUrl: './app.component.html',
})
export class AppComponent {
exoService = inject(ExodeUIService);
artboardData = /* your artboard JSON */;
onTrigger({ name, anim }: any) {
console.log('Trigger:', name, anim);
}
onNavigation({ type, value }: any) {
if (type === 'url') window.open(value);
}
}Angular interactive animation: common questions
How do I install it?
npm install exodeui-angular, then add ExodeUICanvasComponent to the imports of a standalone component.
Will it slow down change detection?
The render loop runs outside NgZone, so each animation frame does not start a change detection cycle. Events such as trigger and navigation are emitted to your component.
How do I set inputs?
Inject ExodeUIService, register the engine from the ready event, then set inputs or fire triggers through the service.
When is @angular/animations enough?
When you animate your own elements between a few states in code. Use ExodeUI when the animation is vector artwork with states and physics that a designer edits.
Can an AI coding tool build the animation for me?
Yes. ExodeUI has an MCP server, so Claude Code, Cursor and other AI coding tools can create and edit .exode files from plain-language prompts. You then load the file with this runtime like any other.
What does ExodeUI cost?
The editor, CLI and MCP server need ExodeUI Professional: $6.30 a month billed yearly, or $8 month to month. New accounts get a trial. The runtime package installs from the public registry.