Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

ngx-lottie

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-lottie

latest
Source
npmnpm
Version
21.2.0
Version published
Weekly downloads
136K
5.36%
Maintainers
1
Weekly downloads
 
Created
Source

Minimal customizable performance-stable Angular components for rendering After Effects animations. Compatible with Angular 9+.

GitHubActions Licence: MIT npm version

Packages

This monorepo contains two packages for rendering Lottie animations in Angular:

📦 ngx-lottie

The main package for rendering JSON-based Lottie animations using lottie-web.

npm i lottie-web ngx-lottie

Features:

  • Multiple renderer support (SVG, Canvas, HTML)
  • Advanced caching
  • Server-side rendering support
  • Tree-shakable architecture

Read full documentation →

🚀 ngx-lottie/dotlottie

Secondary package for rendering .lottie files using @lottiefiles/dotlottie-web with WebAssembly and Web Worker support.

npm i @lottiefiles/dotlottie-web ngx-lottie

Features:

  • WebAssembly-powered rendering
  • Web Worker support for better performance
  • State machine support
  • Smaller file sizes with .lottie format

Read full documentation →

Compatibility with Angular Versions

ngx-lottieAngular
7.x >= 8 < 13
8.x 13
9.x 14
10.x 15
11.x 17
12.x 18
13.x 19
20.x 20
21.x 21

Which Package Should I Use?

Use ngx-lottie when...Use ngx-lottie/dotlottie when...
You have JSON animation filesYou have .lottie files
You need maximum compatibilityYou want smaller file sizes
You use advanced lottie-web featuresYou need Web Worker rendering
You need HTML renderer supportYou need state machine support

License

MIT © Artur Androsovych

Keywords

animation

FAQs

Package last updated on 09 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts