dotLottie-wc is a web component that allows you to easily embed Lottie animations in your web applications. It is a wrapper around the dotLottie-web library.
Installation
Basic Usage
Via npm
After installation, you can use dotlottie-wc in your HTML file:
And import it in your JavaScript or TypeScript module:
Via CDN
You can also use the component directly via a npm CDN: