
Description
ngx-lottie is a set of Angular components for playing After Effects animations that have been exported as Lottie files. The project is a monorepo with two packages. The main ngx-lottie package renders JSON Lottie animations with lottie-web and supports SVG, Canvas and HTML renderers, advanced caching, server-side rendering and a tree-shakable build. The secondary ngx-lottie/dotlottie package renders .lottie files with @lottiefiles/dotlottie-web, using WebAssembly and Web Worker support, state machine support and smaller file sizes. The README includes a compatibility table that matches Angular versions to releases, and a guide to choosing the right package. The components are described as minimal, customizable and performance-stable, and the README says they are compatible with Angular 9 and later. The code is released under the MIT licence.…
Highlights
- JSON Lottie animations rendered with lottie-web
- .lottie files with WebAssembly rendering
- SVG, Canvas and HTML renderers
- Server-side rendering and tree-shakable build
- Compatible with Angular 9 and later
Ratings & Reviews
No ratings yet
Be the first to rate ngx-lottie.
People also visit
ngx-lottie FAQ
What is ngx-lottie?
Angular components that render After Effects animations exported as Lottie JSON or .lottie files.
Which package should I use?
Use ngx-lottie for JSON animation files and maximum compatibility. Use ngx-lottie/dotlottie for .lottie files, smaller file sizes and Web Worker rendering.
Which Angular versions are supported?
The README says it is compatible with Angular 9 and later, and includes a table that matches each Angular version to a release.
Does it support server-side rendering?
Yes. The main ngx-lottie package lists server-side rendering support among its features.
What license is it under?
MIT.
What are the best ngx-lottie alternatives?
Popular alternatives to ngx-lottie include angular-animations-explorer, ngx-skeleton-loader and ngx-bootstrap-icons. See all ngx-lottie alternatives













